X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Futil%2Fosxrn.py;h=752feecc9f53b9c6563d47a80391536958e08a34;hb=6d84f7eb25352c50e40950d0585c33bd1193649e;hp=af0979a8d9ba9463d8c2a9279fb8dbaff9c8c832;hpb=5bb447272ba0be172a4614a0756ae1cd5a0b35de;p=sfa.git diff --git a/sfa/util/osxrn.py b/sfa/util/osxrn.py index af0979a8..752feecc 100644 --- a/sfa/util/osxrn.py +++ b/sfa/util/osxrn.py @@ -4,13 +4,15 @@ from sfa.util.config import Config class OSXrn(Xrn): - def __init__(self, name=None, type=None, *args, **kwds): + def __init__(self, name=None, type=None, **kwds): + config = Config() if name is not None: self.type = type self.hrn = config.SFA_INTERFACE_HRN + "." + name self.hrn_to_urn() - + else: + Xrn.__init__(self, **kwds) self.name = self.get_name()