You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Read the library configuration and add a "__full_config_path" attribute to it
241
241
cfg=json_file_to_dict(f)
242
242
cfg["__config_path"] =full_path
243
+
244
+
if"name"notincfg:
245
+
raiseConfigException("Library configured at %s has no name field."%full_path)
243
246
# If there's already a configuration for a module with the same name, exit with error
244
247
ifself.lib_config_data.has_key(cfg["name"]):
245
248
raiseConfigException("Library name '%s' is not unique (defined in '%s' and '%s')"% (cfg["name"], full_path, self.lib_config_data[cfg["name"]]["__config_path"]))
0 commit comments