diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-11-21 15:20:43 -0500 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-11-21 15:20:43 -0500 |
commit | 844b6d70eacb5fd156301aec02cdd79dc7739ebe (patch) | |
tree | b11d0319f85416666bd256b6d905e58f58084681 | |
parent | a442823bc1d8bc4946749a036a5460ceea456a9b (diff) | |
download | mediagoblin-844b6d70eacb5fd156301aec02cdd79dc7739ebe.tar.lz mediagoblin-844b6d70eacb5fd156301aec02cdd79dc7739ebe.tar.xz mediagoblin-844b6d70eacb5fd156301aec02cdd79dc7739ebe.zip |
This is a tiny change. I took out the warnings that were displayed when a plugin
didn't have a FOUNDATIONS dictionary because people found them annoying.
-rw-r--r-- | mediagoblin/gmg_commands/dbupdate.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py index 961752f6..e14cd550 100644 --- a/mediagoblin/gmg_commands/dbupdate.py +++ b/mediagoblin/gmg_commands/dbupdate.py @@ -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: |