diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-06 10:48:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 10:48:11 +0200 |
commit | e60e2ea6d951b0b0986f95c1f18d1a447f5511a7 (patch) | |
tree | c5088bf0796049376a590b8af72277444d572657 /src/migration-scripts/l2tp/8-to-9 | |
parent | df2add521c17441698ff93402124049f63ffba8f (diff) | |
parent | 489e6fababa60d9c0fbfdb421305cbe563432499 (diff) | |
download | vyos-1x-e60e2ea6d951b0b0986f95c1f18d1a447f5511a7.tar.gz vyos-1x-e60e2ea6d951b0b0986f95c1f18d1a447f5511a7.zip |
Merge pull request #3260 from c-po/spring-cleaning-3
T6199: remove unused Python imports from migration scripts
Diffstat (limited to 'src/migration-scripts/l2tp/8-to-9')
-rwxr-xr-x | src/migration-scripts/l2tp/8-to-9 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/migration-scripts/l2tp/8-to-9 b/src/migration-scripts/l2tp/8-to-9 index e85a3892b..672180e25 100755 --- a/src/migration-scripts/l2tp/8-to-9 +++ b/src/migration-scripts/l2tp/8-to-9 @@ -16,13 +16,10 @@ # Deleted 'dhcp-interface' from l2tp -import os - from sys import argv from sys import exit from vyos.configtree import ConfigTree - if len(argv) < 2: print("Must specify file name!") exit(1) @@ -37,7 +34,7 @@ base = ['vpn', 'l2tp', 'remote-access'] if not config.exists(base): exit(0) -#deleting unused dhcp-interface +# deleting unused dhcp-interface if config.exists(base + ['dhcp-interface']): config.delete(base + ['dhcp-interface']) |