##// END OF EJS Templates
Use UsageError for non-local exit + error message
Takafumi Arakaki -
Show More
@@ -647,8 +647,7 b' python-profiler package from non-free.""")'
647 "after trying up to line: %s.\n"
647 "after trying up to line: %s.\n"
648 "Please set a valid breakpoint manually "
648 "Please set a valid breakpoint manually "
649 "with the -b option." % bp)
649 "with the -b option." % bp)
650 error(msg)
650 raise UsageError(msg)
651 return
652 # if we find a good linenumber, set the breakpoint
651 # if we find a good linenumber, set the breakpoint
653 deb.do_break('%s:%s' % (bp_file, bp_line))
652 deb.do_break('%s:%s' % (bp_file, bp_line))
654
653
General Comments 0
You need to be logged in to leave comments. Login now