diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 21:38:42 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-09-23 21:38:42 +1000 |
commit | 78d8efed7fc84eefa687a08fa06c6604e4c52042 (patch) | |
tree | 086ba50975e73d84adea4bbf0166cf6b0d59363d /mediagoblin/gmg_commands/dbupdate.py | |
parent | 5bda90f8219a2b03d18f4762a2fd7e77ab91007c (diff) | |
download | mediagoblin-78d8efed7fc84eefa687a08fa06c6604e4c52042.tar.lz mediagoblin-78d8efed7fc84eefa687a08fa06c6604e4c52042.tar.xz mediagoblin-78d8efed7fc84eefa687a08fa06c6604e4c52042.zip |
Fix some unused imports and local variables.
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r-- | mediagoblin/gmg_commands/dbupdate.py | 4 |
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: |