normalize in init
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 6 Aug 2012 04:30:57 +0000 (00:30 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 6 Aug 2012 04:30:57 +0000 (00:30 -0400)
sfa/util/xrn.py

index 2791e8b..8264f0a 100644 (file)
@@ -131,6 +131,7 @@ class Xrn:
             self.hrn=xrn\r
             self.type=type\r
             self.hrn_to_urn()\r
+        self._normalize()\r
 # happens all the time ..\r
 #        if not type:\r
 #            debug_logger.debug("type-less Xrn's are not safe")\r