zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04641
[Merge] lp:~rainct/zeitgeist/ugly-as-hell into lp:zeitgeist
Siegfried Gevatter has proposed merging lp:~rainct/zeitgeist/ugly-as-hell into lp:zeitgeist with lp:~rainct/zeitgeist/monitor-queue as a prerequisite.
Requested reviews:
Zeitgeist Framework Team (zeitgeist)
For more details, see:
https://code.launchpad.net/~rainct/zeitgeist/ugly-as-hell/+merge/90848
--
https://code.launchpad.net/~rainct/zeitgeist/ugly-as-hell/+merge/90848
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~rainct/zeitgeist/ugly-as-hell into lp:zeitgeist.
=== modified file 'python/client.py'
--- python/client.py 2011-10-29 13:31:12 +0000
+++ python/client.py 2012-01-31 10:40:58 +0000
@@ -172,11 +172,15 @@
self._generic_callbacks = set()
# Listen to (dis)connection notifications, for connect_exit and connect_join
+ self._first_connection = True
def name_owner_changed(connection_name):
if connection_name == "":
callbacks = self._disconnect_callbacks
self.__methods = self.__signals = None
else:
+ if self._first_connection:
+ self._first_connection = False
+ return
if not self._reconnect_when_needed:
return
self.reconnect()
Follow ups