Skip to content

Commit

Permalink
fix: lint unused variable in try/except
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed May 2, 2023
1 parent 80f9983 commit e35c94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def update_config() -> None:
user_table_exists = False
try:
user_table_exists = inspect(engine).has_table("user")
except sqlalchemy.exc.OperationalError as e:
except sqlalchemy.exc.OperationalError:
log.debug("DB user table does not exist")

if user_table_exists:
Expand Down

0 comments on commit e35c94f

Please sign in to comment.