Skip to content
Snippets Groups Projects
Commit cd10d1db authored by junglecow's avatar junglecow
Browse files

Oops. Confused x.reverse() with reversed(x). Fixes #2674

parent 51de0d4b
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ class NBCommonClient(CommonClient):
''' Called on disconnection. Calls disconnect handlers and cleans things up. '''
self.connected=''
self.DEBUG(self.DBG,'Disconnect detected','stop')
for i in self.disconnect_handlers.reverse():
for i in reversed(self.disconnect_handlers):
i()
if self.__dict__.has_key('NonBlockingRoster'):
self.NonBlockingRoster.PlugOut()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment