diff tools/memory.py @ 13:bd9e9997d540

wokkel integration (not finished yet)
author Goffi <goffi@goffi.org>
date Fri, 30 Oct 2009 17:38:27 +0100
parents c4bc297b82f0
children a62d7d453f22
line wrap: on
line diff
--- a/tools/memory.py	Wed Oct 28 00:39:29 2009 +0100
+++ b/tools/memory.py	Fri Oct 30 17:38:27 2009 +0100
@@ -121,7 +121,7 @@
     def addContact(self, JID, attributes, groups):
         debug("Memory addContact: %s",JID)
         assert(isinstance(attributes,dict))
-        assert(isinstance(groups,list))
+        assert(isinstance(groups,set))
         self.contact[JID]=[attributes, groups]
 
     def addPresenceStatus(self, jid, type, show, status, priority):