Skip to content

Commit

Permalink
Minor change to CLI UX
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelanson committed Feb 13, 2019
1 parent 32597f6 commit c317df9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,6 @@ def main():
# We're expecting ctrl-C will end the program, hide the exception from
# the user.
pass
except Exception:
log.exception('Exception in main loop! Stopping execution.')
raise
finally:
if cleanup_function is not None:
cleanup_function()
Expand Down
2 changes: 1 addition & 1 deletion orbitx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if not hasattr(sys, 'frozen'):
# Made sure we're not in a frozen binary, like a distributed .exe file.
# If this file doesn't exist, we must be running as orbitx.exe.
assert target_file.is_file()
assert target_file.is_file(), '----- Remember to run "make build"!! -----'
with open(target_file, 'r') as grpc_py:
replaced_file = grpc_py.read().replace(
'\nimport orbitx_pb2', '\nfrom . import orbitx_pb2')
Expand Down

0 comments on commit c317df9

Please sign in to comment.