Skip to content

Commit

Permalink
Merge f1609ef into db5cd2d
Browse files Browse the repository at this point in the history
  • Loading branch information
mohi7solanki committed Jun 21, 2019
2 parents db5cd2d + f1609ef commit 8a637a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bowler/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def do(interactive: bool, query: str, paths: List[str]) -> None:
result = eval(code) # noqa eval() - developer tool, hopefully they're not dumb

if isinstance(result, Query):
if result.retcode is not None:
if result.retcode:
exc = click.ClickException("query failed")
exc.exit_code = result.retcode
raise exc
Expand Down

0 comments on commit 8a637a2

Please sign in to comment.