aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/dbupdate.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r--mediagoblin/gmg_commands/dbupdate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py
index c802b374..fc506ee5 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -117,9 +117,9 @@ def run_foundations(db, global_config):
foundations = import_component(
f'{plugin}.models:FOUNDATIONS')
all_foundations.append((plugin, foundations))
- except ImportError as exc:
+ except ImportError:
continue
- except AttributeError as exc:
+ except AttributeError:
continue
for name, foundations in all_foundations: