plugin XEP-0085: renamed category and parameter

This commit is contained in:
souliane 2013-09-07 19:50:12 +02:00
commit 9378880e62

View file

@ -490,7 +490,7 @@ class Params(object):
def returnXML(prof_xml):
return_xml = prof_xml.toxml()
prof_xml.unlink()
return '\n'.join([line for line in return_xml.split('\n')])
return '\n'.join((line for line in return_xml.split('\n') if line))
return self.__constructProfileXml(security_limit, profile).addCallback(returnXML)