Codestyle: bare except
This commit is contained in:
parent
dec4e98a0c
commit
3465e92d03
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def main():
|
|||
exit(1)
|
||||
# Re-fetch config after parsing
|
||||
config = get_config()
|
||||
except:
|
||||
except BaseException:
|
||||
logging.fatal('Could not parse configuration file')
|
||||
exit(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue