From: Tony Mack Date: Fri, 7 Sep 2012 16:42:11 +0000 (-0400) Subject: fix set_authority() X-Git-Tag: sfa-2.1-14~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=9ed722c86d311d14f31f4b38b4620f803085efb0;p=sfa.git fix set_authority() --- diff --git a/sfa/util/xrn.py b/sfa/util/xrn.py index c623cbdd..2402de01 100644 --- a/sfa/util/xrn.py +++ b/sfa/util/xrn.py @@ -179,7 +179,7 @@ class Xrn: authority_hrn = self.get_authority_hrn() old_hrn_parts = Xrn.hrn_split(self.hrn) old_hrn_parts[0] = authority - hrn = ".".join(old_hrn_list) + hrn = ".".join(old_hrn_parts) self.hrn = hrn self.hrn_to_urn() self._normalize()