Skip to content

Commit

Permalink
Fix format strings for exceptions (google#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarontp authored and giovannt0 committed Jun 10, 2020
1 parent e1327d2 commit 64b58cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion turbinia/config/logger.py
Expand Up @@ -57,7 +57,7 @@ def setup(need_file_handler=True, need_stream_handler=True):
config.LoadConfig()
except TurbiniaException as exception:
print(
'Could not load config file ({0:s}).\n{1:s}'.format(
'Could not load config file ({0!s}).\n{1:s}'.format(
exception, config.CONFIG_MSG))
sys.exit(1)

Expand Down
2 changes: 1 addition & 1 deletion turbinia/turbiniactl.py
Expand Up @@ -380,7 +380,7 @@ def main():
config.LoadConfig()
except TurbiniaException as exception:
print(
'Could not load config file ({0:s}).\n{1:s}'.format(
'Could not load config file ({0!s}).\n{1:s}'.format(
exception, config.CONFIG_MSG))
sys.exit(1)

Expand Down

0 comments on commit 64b58cb

Please sign in to comment.