return error code upon KeyboardInterrupt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -182,6 +182,7 @@ class TaskRunner(object):
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print "STOPPING JOBS..."
|
print "STOPPING JOBS..."
|
||||||
self.stopAllJobs()
|
self.stopAllJobs()
|
||||||
|
return 1
|
||||||
|
|
||||||
except:
|
except:
|
||||||
print "Unknown exception..."
|
print "Unknown exception..."
|
||||||
|
Reference in New Issue
Block a user