print warning if a script in the addons dir has no bl_info.

This commit is contained in:
2012-06-28 19:22:13 +00:00
parent a45cba5f71
commit acb0a50fb3

View File

@@ -139,6 +139,8 @@ def modules(module_cache):
return mod
else:
print("fake_module: addon missing 'bl_info' "
"gives bad performance!: %r" % mod_path)
return None
modules_stale = set(module_cache.keys())