We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bba63b3 commit fb16e07Copy full SHA for fb16e07
src/lkadmin/spears.py
@@ -145,8 +145,8 @@ def update_from_config(config_fname):
145
try:
146
with open(config_fname, 'r', encoding='utf-8') as f:
147
conf = tomlkit.load(f)
148
- except Exception as e:
149
- print_error_exit('Unable to load data from configuration file: {}'.format(str(e)))
+ except Exception as exc:
+ print_error_exit('Unable to load data from configuration file: {}'.format(str(exc)))
150
151
with session_scope() as session:
152
entries = session.query(SpearsMigrationTask).all()
0 commit comments