aboutsummaryrefslogtreecommitdiff
path: root/LightInstallation.py
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2010-12-26 14:46:39 -0500
committerGravatar rcoh <rcoh@mit.edu>2010-12-26 14:46:39 -0500
commitf9aeaf10e3c9077504a78374640e79415734546b (patch)
tree82ecc35c6a3805311a7fafb4aaed134dbe3e176d /LightInstallation.py
parentbbb31f8213d61b7c91d8b17c543d12491dd2df1b (diff)
Modify LightInstallation to resolve inheritances. In the future, we may improve the functionality
of loadConfigFile to pick up all inheritences, but right now it only handles inheritences at the first non-tree level
Diffstat (limited to 'LightInstallation.py')
-rw-r--r--LightInstallation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/LightInstallation.py b/LightInstallation.py
index 5882806..07fa8fc 100644
--- a/LightInstallation.py
+++ b/LightInstallation.py
@@ -84,6 +84,7 @@ class LightInstallation:
def initializeComponent(self, config):
components = []
if config != None:
+ config = configGetter.resolveConfigInheritance(config)
for configItem in config.getchildren():
[module,className] = configItem.find('Class').text.split('.')
exec('from ' + module+'.'+className + ' import *')