diff options
author | Martin Winter <mwinter@opensourcerouting.org> | 2020-08-19 19:14:29 +0200 |
---|---|---|
committer | Martin Winter <mwinter@opensourcerouting.org> | 2020-08-19 19:38:28 +0200 |
commit | c4006e05a1112eca52dd7ce207821af9694117da (patch) | |
tree | 81783f436f80936f33f82d4d14016244cb627856 /python | |
parent | Merge pull request #6939 from sworleys/NH-Vrf-Del (diff) | |
download | frr-c4006e05a1112eca52dd7ce207821af9694117da.tar.xz frr-c4006e05a1112eca52dd7ce207821af9694117da.zip |
python: Make FRR build compatible with python 2.7 and 3.x
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/makevars.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/makevars.py b/python/makevars.py index 1a85fbd6f..63bf8c5ee 100644 --- a/python/makevars.py +++ b/python/makevars.py @@ -70,7 +70,7 @@ class MakeReVars(MakeVarsBase): repl_re = re.compile(r'\$(?:([A-Za-z])|\(([^\)]+)\))') def __init__(self, maketext): - super().__init__() + super(MakeReVars, self).__init__() self._vars = dict(self.var_re.findall(maketext.replace('\\\n', ''))) def replacevar(self, match): |