Package: python2.3-xmpp Version: 0.2-rc3-1 Severity: normal File: /usr/lib/python2.3/site-packages/xmpp/features.py
The setPrivacyList function uses a nonexistent payload variable where it should use the list parameter. --- /tmp/x/usr/lib/python2.3/site-packages/xmpp/features.py 2005-05-13 14:03:32.000000000 +0200 +++ /usr/lib/python2.3/site-packages/xmpp/features.py 2005-08-05 01:05:37.504032264 +0200 @@ -162,7 +162,7 @@ """ Set the ruleset. 'list' should be the simpleXML node formatted according to RFC 3921 (XMPP-IM) (I.e. Node('list',{'name':listname},payload=[...]) ) Returns true on success.""" - resp=disp.SendAndWaitForResponse(Iq('set',NS_PRIVACY,payload=[payload])) + resp=disp.SendAndWaitForResponse(Iq('set',NS_PRIVACY,payload=[list])) if isResultNode(resp): return 1 def delPrivacyList(disp,listname): -- MichaĆ Politowski Talking has been known to lead to communication if practiced carelessly.
signature.asc
Description: Digital signature