From 9f52a4f4ea9990bcf3b8c27a472fb47653bbeb0d Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 16 Jan 2022 18:17:20 +0100 Subject: Revert "migrator: interfaces: T4171: bugfix ConfigTreeError" This reverts commit 391ce22b76190309f81e048ebffab778b0fdee1d. --- src/migration-scripts/interfaces/22-to-23 | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/migration-scripts/interfaces/22-to-23') diff --git a/src/migration-scripts/interfaces/22-to-23 b/src/migration-scripts/interfaces/22-to-23 index 734aa1fd8..06e07572f 100755 --- a/src/migration-scripts/interfaces/22-to-23 +++ b/src/migration-scripts/interfaces/22-to-23 @@ -84,8 +84,6 @@ if __name__ == '__main__': config_file = f.read() config = ConfigTree(config_file) - if not config.exists(['interfaces']): - exit(0) # # Migrate "interface ethernet eth0 ip ospf" to "protocols ospf interface eth0" -- cgit v1.2.3