revert change
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Sun, 1 Jul 2012 03:46:47 +0000 (23:46 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Sun, 1 Jul 2012 03:46:47 +0000 (23:46 -0400)
sfa/util/xrn.py

index 843b035..af82ade 100644 (file)
@@ -223,7 +223,7 @@ class Xrn:
             raise SfaAPIError, "Xrn.hrn_to_urn, hrn=%s"%self.hrn
 
         if self.type and self.type.startswith('authority'):
-            self.authority = Xrn.hrn_auth_list(self.hrn)
+            self.authority = Xrn.hrn_split(self.hrn)
             if not self.authority:
                 self.authority = [self.hrn]
             type_parts = self.type.split("+")