summaryrefslogtreecommitdiff
path: root/python/makevars.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-08-22 22:07:18 +0300
committerGitHub <noreply@github.com>2020-08-22 22:07:18 +0300
commit474d46ed73dbf466dc1e68cce51f4a7cec33b5c3 (patch)
tree643e09c44b006b57114889899c3d117f05a35101 /python/makevars.py
parent92b4f625d53df3b29a8b5075029b031cc4016e8b (diff)
parentc4006e05a1112eca52dd7ce207821af9694117da (diff)
Merge pull request #6952 from opensourcerouting/fix_python27_build
python: Make FRR build compatible with python 2.7 and 3.x
Diffstat (limited to 'python/makevars.py')
-rw-r--r--python/makevars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/makevars.py b/python/makevars.py
index 1a85fbd6f5..63bf8c5eeb 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):