mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 07:27:09 +00:00
Merge pull request #6952 from opensourcerouting/fix_python27_build
python: Make FRR build compatible with python 2.7 and 3.x
This commit is contained in:
commit
474d46ed73
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user