-### $Id$
-### $URL$
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
+#
+# WARNING - This file should be soon deprecated in favor of sfa.util.xrn
+#
import re
from sfa.util.faults import *
URN_PREFIX = "urn:publicid:IDN"
# Remove the authority name (e.g. '.sa')
if type == 'authority':
- urn_parts = hrn_parts[:-1]
+ urn_parts = urn_parts[:-1]
# convert hrn_parts (list) into hrn (str) by doing the following
# 1. remove blank elements