diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-02-09 09:48:45 +0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-02-09 10:02:14 +0800 |
commit | 72ead3d598394fd478097de48cbef49800220ea2 (patch) | |
tree | ccb70b4b4a911dc3e16fe15d0c9c1c6624306c43 | |
parent | 4b71fba64c8675aa891fd6a92eb6f0f045e4a48e (diff) | |
download | slixmpp-72ead3d598394fd478097de48cbef49800220ea2.tar.gz slixmpp-72ead3d598394fd478097de48cbef49800220ea2.tar.bz2 slixmpp-72ead3d598394fd478097de48cbef49800220ea2.tar.xz slixmpp-72ead3d598394fd478097de48cbef49800220ea2.zip |
Replace the print statement by a log.debug call
This print syntax is deprecated in python3, so
the plugin was working only with python2
-rw-r--r-- | sleekxmpp/plugins/xep_0009/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0009/remote.py b/sleekxmpp/plugins/xep_0009/remote.py index ea867fd7..8c534118 100644 --- a/sleekxmpp/plugins/xep_0009/remote.py +++ b/sleekxmpp/plugins/xep_0009/remote.py @@ -562,7 +562,7 @@ class RemoteSession(object): iq.send() return future.get_value(30) else: - print "[RemoteSession] _call_remote %s" % callback + log.debug("[RemoteSession] _call_remote %s" % callback) self._register_callback(pid, callback) iq.send() |