remove py23 compat layer
[sfa.git] / sfa / trust / gid.py
index 7387902..7450b4d 100644 (file)
 
 
 import uuid
+import xmlrpc.client
 
 from sfa.trust.certificate import Certificate
 
 from sfa.util.faults import GidInvalidParentHrn, GidParentHrn
 from sfa.util.xrn import hrn_to_urn, urn_to_hrn, hrn_authfor_hrn
 from sfa.util.sfalogging import logger
-from sfa.util.py23 import xmlrpc_client
 
 ##
 # Create a new uuid. Returns the UUID as a string.
@@ -176,7 +176,7 @@ class GID(Certificate):
         dict = {}
         if data:
             if data.lower().startswith('uri:http://<params>'):
-                dict = xmlrpc_client.loads(data[11:])[0][0]
+                dict = xmlrpc.client.loads(data[11:])[0][0]
             else:
                 spl = data.split(', ')
                 for val in spl: