summaryrefslogtreecommitdiff
path: root/src/migration-scripts/system
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-09-25 10:58:58 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-09-25 12:49:15 -0500
commit4c818baa59046bdc5023abe8b63fa6f62611d115 (patch)
treea4db52467ba5ea2190fb47fa7916d7c9097fe174 /src/migration-scripts/system
parentf39f5dde342aa5e14d1fb4155920c61ac5fd11b1 (diff)
downloadvyos-1x-4c818baa59046bdc5023abe8b63fa6f62611d115.tar.gz
vyos-1x-4c818baa59046bdc5023abe8b63fa6f62611d115.zip
syslog: T1845: fix indentation level
Diffstat (limited to 'src/migration-scripts/system')
-rwxr-xr-xsrc/migration-scripts/system/11-to-1210
1 files changed, 5 insertions, 5 deletions
diff --git a/src/migration-scripts/system/11-to-12 b/src/migration-scripts/system/11-to-12
index 0c92a0746..36311a19d 100755
--- a/src/migration-scripts/system/11-to-12
+++ b/src/migration-scripts/system/11-to-12
@@ -40,8 +40,8 @@ for host in config.list_nodes(cbase):
config.set(cbase + [h, 'facility', fac, 'level'], value=lvl)
config.delete(cbase + [host])
- try:
- open(file_name,'w').write(config.to_string())
- except OSError as e:
- print("Failed to save the modified config: {}".format(e))
- sys.exit(1)
+try:
+ open(file_name,'w').write(config.to_string())
+except OSError as e:
+ print("Failed to save the modified config: {}".format(e))
+ sys.exit(1)