print warning if a script in the addons dir has no bl_info.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 28 Jun 2012 19:22:13 +0000 (19:22 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 28 Jun 2012 19:22:13 +0000 (19:22 +0000)
release/scripts/modules/addon_utils.py

index f90c04eda027e46c70c3fe0c9b657ff94798c1f6..02d9cd2d1c65ba3f9b0c50d6523ab6df6b98d700 100644 (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())