This is a tiny change. I took out the warnings that were displayed when a plugin
authortilly-Q <nattilypigeonfowl@gmail.com>
Thu, 21 Nov 2013 20:20:43 +0000 (15:20 -0500)
committertilly-Q <nattilypigeonfowl@gmail.com>
Thu, 21 Nov 2013 20:20:43 +0000 (15:20 -0500)
didn't have a FOUNDATIONS dictionary because people found them annoying.

mediagoblin/gmg_commands/dbupdate.py

index 961752f61f4e1af0366bc27e9574579351c2f232..e14cd550c89e8cddc00aa1e09a12d8461a383d5a 100644 (file)
@@ -92,14 +92,8 @@ forgotten to add it? ({1})'.format(plugin, exc))
         try:
             foundations = import_component('{0}.models:FOUNDATIONS'.format(plugin))
         except ImportError as exc:
-            _log.debug('No foundations found for {0}: {1}'.format(
-                plugin,
-                exc))
-
             foundations = {}
         except AttributeError as exc:
-            _log.debug('Could not find FOUNDATIONS in {0}.models, have you \
-forgotten to add it? ({1})'.format(plugin, exc))
             foundations = {}
 
         if models: