gnome-games r7953 - branches/gnome-2-24/glchess/src/lib/ggz



Author: rancell
Date: Mon Oct  6 13:07:48 2008
New Revision: 7953
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7953&view=rev

Log:
Fix crash in error handler when GGZ connection closed (Bug #553982)

Modified:
   branches/gnome-2-24/glchess/src/lib/ggz/client.py

Modified: branches/gnome-2-24/glchess/src/lib/ggz/client.py
==============================================================================
--- branches/gnome-2-24/glchess/src/lib/ggz/client.py	(original)
+++ branches/gnome-2-24/glchess/src/lib/ggz/client.py	Mon Oct  6 13:07:48 2008
@@ -463,7 +463,7 @@
         self.inSession = False
         self.client.mainChannel.send(self.command)
 
-    def closed(self):
+    def closed(self, errno = 0):
         print 'SEVERE: GGZ channel closed'
 
 class Client:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]