From 5238f0970219639e988bc31beb7db27b43f94e6e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 24 Nov 2019 20:31:22 +0100 Subject: bridge: T1673: re-use "base" variable --- src/migration-scripts/interfaces/0-to-1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/migration-scripts/interfaces/0-to-1') 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: -- cgit v1.2.3