Permalink
Browse files

Bug 676871: GIMP reports false positive plugin crash after...

entering "quit()" in Python Console.
  • Loading branch information...
1 parent 5a8295d commit 2f10aee65df240d5da8e88bf54be6b1f5db878e4 Massimo Valentini committed May 29, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 plug-ins/pygimp/plug-ins/pyconsole.py
@@ -525,7 +525,10 @@ def do_command(self, code):
try:
eval(code, self.locals)
except SystemExit:
- raise
+ if self.quit_func:
+ self.quit_func()
+ else:
+ raise
except:
self.showtraceback()

0 comments on commit 2f10aee

Please sign in to comment.