summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Munda <sandro.munda@guardis.com>2012-06-04 08:07:29 +0200
committerSandro Munda <sandro.munda@guardis.com>2012-06-07 18:38:56 +0200
commitb52d2768b0ff63df3b3006e419477cb9e462c1f9 (patch)
treed758942b5c43f22d532faff46d15824afcd5352e
parentcf24b870b124be3f41c496aa2a99b4c6f626e22f (diff)
downloadslixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.gz
slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.bz2
slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.tar.xz
slixmpp-b52d2768b0ff63df3b3006e419477cb9e462c1f9.zip
Added some comments to the get_network_address method
-rw-r--r--sleekxmpp/plugins/xep_0065/proxy.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0065/proxy.py b/sleekxmpp/plugins/xep_0065/proxy.py
index d9d629f6..7d983840 100644
--- a/sleekxmpp/plugins/xep_0065/proxy.py
+++ b/sleekxmpp/plugins/xep_0065/proxy.py
@@ -97,8 +97,13 @@ class xep_0065(base_plugin):
return '%s' % disco_info['from']
def get_network_address(self, streamer):
+ """ Gets the streamhost information of the proxy.
+
+ streamer : The jid of the proxy.
+ """
+
iq = self.xmpp.Iq(sto=streamer, stype='get')
- iq['q']
+ iq['q'] # Adds the query eleme to the iq.
return iq.send()