mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed code smell 'Unused local variables should be removed'.
This commit is contained in:
committed by
Akshay Joshi
parent
1fbf298d30
commit
dd27e08a98
@@ -485,7 +485,7 @@ def register_dialect(name, dialect='excel', **fmtparams):
|
||||
|
||||
try:
|
||||
Dialect.validate(dialect)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
raise TypeError('dialect is invalid')
|
||||
|
||||
assert name not in _dialect_registry
|
||||
|
||||
Reference in New Issue
Block a user