sfa-import was failing at set_issuer as se_issuer expets the subject as a string
[sfa.git] / sfa / util / namespace.py
index 2e4b897..cc140d5 100644 (file)
@@ -72,7 +72,7 @@ def urn_to_hrn(urn):
     # join list elements using '.'
     hrn = '.'.join([part.replace(':', '.') for part in hrn_parts if part]) 
    
-    return hrn, type 
+    return str(hrn), str(type) 
     
     
 def hrn_to_urn(hrn, type=None):