diff options
author | rcoh <rcoh@mit.edu> | 2010-12-22 14:27:33 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2010-12-22 14:27:33 -0500 |
commit | c581408f028d5b8ceadc53c68d7c1252fbe09e6d (patch) | |
tree | 8724862d05bde3bb3427cdff378cdb08da8babd2 /util/Config.py | |
parent | a1d9b85320c9b07d62470d78ef0c5f9015baf813 (diff) |
About halfway done with support for pixel regions. Modified the component registry a bit. Added
support for multiple pixel mappers (and along with that, default components). RCOH
Diffstat (limited to 'util/Config.py')
-rw-r--r-- | util/Config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/Config.py b/util/Config.py index 4cf2ed5..f80b7b2 100644 --- a/util/Config.py +++ b/util/Config.py @@ -6,7 +6,7 @@ def loadParamRequirementDict(className): classArgsMem[className] = fileToDict(CONFIG_PATH + className) return classArgsMem[className] def loadConfigFile(fileName): #TODO: error handling etc. - try: + #try: fileName = CONFIG_PATH + fileName if '.params' in fileName: return fileToDict(fileName) @@ -14,7 +14,7 @@ def loadConfigFile(fileName): #TODO: error handling etc. config = ElementTree() config.parse(fileName) return config - except: + #except: return None def fileToDict(fileName): fileText = '' |