# HG changeset patch # User Goffi # Date 1396261393 -7200 # Node ID b4cd968e30fb8ea59f471c3f3cbb64dc84fce3da # Parent abd3a75d629c61bbf75abb941c6db03e684a98ed core: fixed bad closure in connection intialisation sequence (profileConnected in plugins were not called correctly) diff -r abd3a75d629c -r b4cd968e30fb src/core/sat_main.py --- a/src/core/sat_main.py Mon Mar 31 12:23:10 2014 +0200 +++ b/src/core/sat_main.py Mon Mar 31 12:23:13 2014 +0200 @@ -260,7 +260,7 @@ d = current.getConnectionDeferred() d.addCallback(lambda dummy: current.roster.got_roster) # we want to be sure that we got the roster for callback in plugin_conn_cb: - d.addCallback(lambda dummy: callback(profile)) + d.addCallback(lambda dummy, callback=callback: callback(profile)) return d self.memory.startProfileSession(profile)