Skip to content

Commit fb16e07

Browse files
committed
trivial: Make linter happy
1 parent bba63b3 commit fb16e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lkadmin/spears.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def update_from_config(config_fname):
145145
try:
146146
with open(config_fname, 'r', encoding='utf-8') as f:
147147
conf = tomlkit.load(f)
148-
except Exception as e:
149-
print_error_exit('Unable to load data from configuration file: {}'.format(str(e)))
148+
except Exception as exc:
149+
print_error_exit('Unable to load data from configuration file: {}'.format(str(exc)))
150150

151151
with session_scope() as session:
152152
entries = session.query(SpearsMigrationTask).all()

0 commit comments

Comments
 (0)