From 6d84f7eb25352c50e40950d0585c33bd1193649e Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 31 Jan 2012 21:56:50 -0500 Subject: [PATCH] fix bug in init --- sfa/util/osxrn.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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() -- 2.43.0