aboutsummaryrefslogtreecommitdiff
path: root/operationscore
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore')
-rw-r--r--operationscore/SmootCoreObject.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/operationscore/SmootCoreObject.py b/operationscore/SmootCoreObject.py
index 291519a..c481776 100644
--- a/operationscore/SmootCoreObject.py
+++ b/operationscore/SmootCoreObject.py
@@ -8,6 +8,9 @@ class SmootCoreObject(object):
self.validateArgs(self.className()+'.params')
self.lock = thread.allocate_lock()
self.init() #call init of inheriting class
+ #put everything into attributes for speed
+ for key in argDict:
+ setattr(self, key, argDict[key])
# self.__setitem__ = self.argDict.__setitem__
# self.__getitem__ = self.argDict.__getitem__
def init(self):