1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

modulebase: fix Invalid python3 Syntax after merge

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
Julien Fortin
2020-01-28 12:33:52 +01:00
parent 13d85ea31a
commit 4d3cdf73c9

View File

@@ -433,7 +433,7 @@ class moduleBase(object):
vrfid = 'default'
try:
vrfid = utils.exec_command('/usr/sbin/ip vrf id').strip()
except Exception, e:
except Exception as e:
self.logger.debug('failed to get vrf id (%s)' %str(e))
# ignore errors
vrfid = None