gnome-games r8381 - branches/gnome-2-24/glchess/src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8381 - branches/gnome-2-24/glchess/src/lib
- Date: Wed, 24 Dec 2008 12:34:43 +0000 (UTC)
Author: rancell
Date: Wed Dec 24 12:34:43 2008
New Revision: 8381
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8381&view=rev
Log:
Catch keyboard interrupts in AI monitor process
Modified:
branches/gnome-2-24/glchess/src/lib/ai.py
Modified: branches/gnome-2-24/glchess/src/lib/ai.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/ai.py (original)
+++ branches/gnome-2-24/glchess/src/lib/ai.py Wed Dec 24 12:34:43 2008
@@ -454,7 +454,7 @@
# Bridge information between the application and the engine
os.write(targets[fd], data)
- except Exception, e:
+ except:
# Kill the child and exit
try:
os.kill(enginePID, signal.SIGQUIT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]