diff options
author | Nathan Fritz <fritzy@netflint.net> | 2009-09-01 17:24:52 +0000 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2009-09-01 17:24:52 +0000 |
commit | b9f7af885c10edcea74ddadbe0dce5368a00a679 (patch) | |
tree | aa60e778c84798cd31a99766f0c21ad496509aa9 /sleekxmpp/__init__.py | |
parent | 32ef496502bb338ee030b31ce7ba70e789995d9c (diff) | |
download | slixmpp-b9f7af885c10edcea74ddadbe0dce5368a00a679.tar.gz slixmpp-b9f7af885c10edcea74ddadbe0dce5368a00a679.tar.bz2 slixmpp-b9f7af885c10edcea74ddadbe0dce5368a00a679.tar.xz slixmpp-b9f7af885c10edcea74ddadbe0dce5368a00a679.zip |
* fixed some python3 transition bugs
* added status options to muc joining
Diffstat (limited to 'sleekxmpp/__init__.py')
-rw-r--r-- | sleekxmpp/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/__init__.py b/sleekxmpp/__init__.py index 422b50f7..6b4af9b6 100644 --- a/sleekxmpp/__init__.py +++ b/sleekxmpp/__init__.py @@ -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) |