Pass code check (14.04)

This commit is contained in:
Bob Lantz
2018-07-25 21:30:05 -07:00
parent f4490069ca
commit 8102704726
4 changed files with 13 additions and 10 deletions
+2 -1
View File
@@ -186,7 +186,8 @@ class MininetRunner( object ):
for fileName in files:
customs = {}
if os.path.isfile( fileName ):
exec( compile ( open( fileName ).read(), fileName, 'exec' ),
# pylint: disable=exec-used
exec( compile( open( fileName ).read(), fileName, 'exec' ),
customs, customs )
for name, val in customs.items():
self.setCustom( name, val )