Skip to content

Commit

Permalink
break out of nested loop
Browse files Browse the repository at this point in the history
  • Loading branch information
caryan committed Jul 18, 2016
1 parent bf014e8 commit cd50302
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/compare_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ def compare_sequences():
newfiles = filter_py27(newfiles)
PulseSequencePlotter.plot_pulse_files_compare(testfiles, newfiles)
c = input('Enter to continue (q to quit): ')
if c == 'q':
if c == "q":
break
if c == "q":
break


def filter_py27(filenames):
Expand Down

0 comments on commit cd50302

Please sign in to comment.