summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2020-08-19 19:14:29 +0200
committerMartin Winter <mwinter@opensourcerouting.org>2020-08-19 19:38:28 +0200
commitc4006e05a1112eca52dd7ce207821af9694117da (patch)
tree81783f436f80936f33f82d4d14016244cb627856 /python
parentMerge pull request #6939 from sworleys/NH-Vrf-Del (diff)
downloadfrr-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.py2
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):