Fixed failing tests from new XEP-0009 plugin

This commit is contained in:
Lance Stout
2011-02-07 10:18:15 -05:00
parent 683f717cf7
commit aa1996eba6
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ def xml2fault(params):
def py2xml(*args):
params = ET.Element("{%s}params" % _namespace)
for x in args:
param = ET.Element("param")
param = ET.Element("{%s}param" % _namespace)
param.append(_py2xml(x))
params.append(param) #<params><param>...
return params