From 1ad1df31727cc62809512aafb81cb3c941f191ff Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 29 Jun 2012 22:12:02 -0400 Subject: [PATCH] cast to string --- sfa/trust/hierarchy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/trust/hierarchy.py b/sfa/trust/hierarchy.py index 598ba561..2040510b 100644 --- a/sfa/trust/hierarchy.py +++ b/sfa/trust/hierarchy.py @@ -141,7 +141,7 @@ class Hierarchy: # @param create_parents if true, also create the parents if they do not exist def create_auth(self, xrn, create_parents=False): - hrn, type = urn_to_hrn(xrn) + hrn, type = urn_to_hrn(str(xrn)) logger.debug("Hierarchy: creating authority: %s"% hrn) # create the parent authority if necessary -- 2.47.0