From f9aeaf10e3c9077504a78374640e79415734546b Mon Sep 17 00:00:00 2001 From: rcoh Date: Sun, 26 Dec 2010 14:46:39 -0500 Subject: 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 --- LightInstallation.py | 1 + 1 file changed, 1 insertion(+) (limited to 'LightInstallation.py') 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 *') -- cgit v1.2.3