From c4006e05a1112eca52dd7ce207821af9694117da Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Wed, 19 Aug 2020 19:14:29 +0200 Subject: [PATCH] python: Make FRR build compatible with python 2.7 and 3.x Signed-off-by: Martin Winter --- python/makevars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5