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:
@@ -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
|
||||
|
Reference in New Issue
Block a user