* fixed some python3 transition bugs

* added status options to muc joining
This commit is contained in:
Nathan Fritz
2009-09-01 17:24:52 +00:00
parent 32ef496502
commit b9f7af885c
4 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ class ClientXMPP(basexmpp, XMLStream):
self.registerStanza(**register)
def __getitem__(self, key):
if self.plugin.has_key(key):
if key in self.plugin:
return self.plugin[key]
else:
logging.warning("""Plugin "%s" is not loaded.""" % key)