X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FGPG.py;fp=PLC%2FGPG.py;h=3a73ef8843cf320883dc3da3bab2f4e22aa1c53b;hb=aed64f31afdf04bdd6e22f3b1efdd61a2d63174a;hp=4a998847227c73bacb955bce9fe0819a6ba96b7b;hpb=b92fd6505ef9a6e2e3532add89f0eb368bd4e2e2;p=plcapi.git diff --git a/PLC/GPG.py b/PLC/GPG.py index 4a99884..3a73ef8 100644 --- a/PLC/GPG.py +++ b/PLC/GPG.py @@ -27,7 +27,7 @@ def canonicalize(args, methodname = None, methodresponse = False): xml = xmlrpc.client.dumps(args, methodname, methodresponse, encoding = 'utf-8', allow_none = 1) dom = etree.fromstring(xml) - canonical=etree.tostring(dom) + canonical = etree.tostring(dom) # pre-f20 version was using Canonicalize from PyXML # from xml.dom.ext import Canonicalize # Canonicalize(), though it claims to, does not encode unicode