[gamin] bug: gamin exception: disconnected



Hello,

I have found a bug which occurs when I shutdown all my WatchMonitors (exception
during raising of disconnected exception). The following path solves this.

Best regards,

Rolf Anderegg
--- /usr/lib/pymodules/python2.6/gamin.py.orig  2011-03-28 16:34:51.862301001 +0200
+++ /usr/lib/pymodules/python2.6/gamin.py       2011-03-28 16:35:33.694301001 +0200
@@ -142,7 +142,7 @@
     def __del__ (self):
         self.disconnect()

-    def __raise_disconnected():
+    def __raise_disconnected(self):
        raise(GaminException("Already disconnected"))

     def _debug_object(self, value, callback, data = None):


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