From 4c818baa59046bdc5023abe8b63fa6f62611d115 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Fri, 25 Sep 2020 10:58:58 -0500 Subject: syslog: T1845: fix indentation level --- src/migration-scripts/system/11-to-12 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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) -- cgit v1.2.3