Skip to content

Commit

Permalink
Merge pull request #90 from MichaelAquilina/keyboard_interrupt_cli
Browse files Browse the repository at this point in the history
Only catch KeyboardInterrupts in the cli client
  • Loading branch information
MichaelAquilina committed Oct 30, 2017
2 parents 032a2ca + 5528373 commit bdb67d5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions s4/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def sync(self, conflict_choice=None, keys=None, dry_run=False):

self.run_resolutions(resolutions, dry_run)

except KeyboardInterrupt:
self.logger.warning('Session interrupted by Keyboard Interrupt. Aborting....')
finally:
self.client_1.unlock()
self.client_2.unlock()
Expand Down

0 comments on commit bdb67d5

Please sign in to comment.