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 | |
| parent | cfc0a51f96dde1cad1a360b20235541b915035ee (diff) | |
python: Make FRR build compatible with python 2.7 and 3.x
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
| -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 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):  | 
