diff options
author | Robin Gloster <robin@loc-com.de> | 2014-08-18 00:52:24 +0200 |
---|---|---|
committer | Robin Gloster <robin@loc-com.de> | 2014-08-18 00:55:10 +0200 |
commit | 4144d60017e200d97bcfe0286daee06d4641a9e0 (patch) | |
tree | fb9c0349f91d289b05107e7dad07c78f5be2c691 /sleekxmpp/plugins/xep_0009/remote.py | |
parent | a5c03b763a6545a214f4f391f7c07582c22150b2 (diff) | |
download | slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.gz slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.bz2 slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.tar.xz slixmpp-4144d60017e200d97bcfe0286daee06d4641a9e0.zip |
cleanup semicolons, whitespace and mutable default arguments
Diffstat (limited to 'sleekxmpp/plugins/xep_0009/remote.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0009/remote.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0009/remote.py b/sleekxmpp/plugins/xep_0009/remote.py index 8847ff24..e85c3fa9 100644 --- a/sleekxmpp/plugins/xep_0009/remote.py +++ b/sleekxmpp/plugins/xep_0009/remote.py @@ -697,7 +697,8 @@ class Remote(object): if(client.boundjid.bare in cls._sessions): raise RemoteException("There already is a session associated with these credentials!") else: - cls._sessions[client.boundjid.bare] = client; + cls._sessions[client.boundjid.bare] = client + def _session_close_callback(): with Remote._lock: del cls._sessions[client.boundjid.bare] |