ImageEngine/cortex — pull request #265 by richardmonette (2014-05-07 22:13:20+00:00)
Title: return results of config loading

Currently, when calling IECore.loadConfig there is no feedback about the results of the call, i.e. the caller has no idea how many and which configs may have been executed. This can make things trickier in situations where it would be useful to verify that an expected number of (or at least some) configs were executed.

For example, this pull request would make it possible to do something such as:

configsLoaded = IECore.loadConfig( configPath, { "op": self }, raiseExceptions = True )
if not configsLoaded:
raise Exception("Configuration required but no config files were loaded!")