summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-24 20:31:22 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-24 20:31:22 +0100
commit5238f0970219639e988bc31beb7db27b43f94e6e (patch)
treef8f7d4c1f6a1a4c09d598c084a1633e781258cb8
parenta6fde4aa02862f51cbd3618ade199c64915469d3 (diff)
downloadvyos-1x-5238f0970219639e988bc31beb7db27b43f94e6e.tar.gz
vyos-1x-5238f0970219639e988bc31beb7db27b43f94e6e.zip
bridge: T1673: re-use "base" variable
-rwxr-xr-xsrc/migration-scripts/interfaces/0-to-12
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-scripts/interfaces/0-to-1 b/src/migration-scripts/interfaces/0-to-1
index a67a4a325..ee4d6b82c 100755
--- a/src/migration-scripts/interfaces/0-to-1
+++ b/src/migration-scripts/interfaces/0-to-1
@@ -49,7 +49,7 @@ if __name__ == '__main__':
config = ConfigTree(config_file)
base = ['interfaces', 'bridge']
- if not config.exists(['interfaces', 'bridge']):
+ if not config.exists(base):
# Nothing to do
sys.exit(0)
else: