|
|
|
@ -16,5 +16,8 @@ for filename in matches:
|
|
|
|
|
try:
|
|
|
|
|
compile(source, filename, 'exec')
|
|
|
|
|
except Exception as e:
|
|
|
|
|
ctypes.windll.user32.MessageBoxA(0, traceback.format_exc(), "Exception in " + filename, 1)
|
|
|
|
|
sys.exit(1)
|
|
|
|
|
if 'win' in sys.platform:
|
|
|
|
|
ctypes.windll.user32.MessageBoxA(0, traceback.format_exc(), "Exception in " + filename, 1)
|
|
|
|
|
else:
|
|
|
|
|
print "Exception in %s: %s" % (filename, traceback.format_exc())
|
|
|
|
|
sys.exit(1)
|
|
|
|
|