Skip to content

Commit

Permalink
Adjusted KeyboardInterrupt behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
Costya.y committed Apr 5, 2019
1 parent 32998c8 commit 80bfe90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cloudshell/recorder/snmp/snmp_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def create_recording(self):
try:
recorded_data.extend(snmp_recorder.create_snmp_record(oid=oid_line))
except KeyboardInterrupt:
raise
click.secho("Snmp recording process interrupted by user. Stopping now.")
return recorded_data
except:
pass
pbar.next()
Expand Down
2 changes: 1 addition & 1 deletion pypi_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.1.1

0 comments on commit 80bfe90

Please sign in to comment.