mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following SonarQube code smells:
1) Remove this useless assignment to a variable. 2) Remove the unused local variable.
This commit is contained in:
@@ -52,7 +52,7 @@ class ERDTables(BaseTestGenerator):
|
||||
tables_utils.create_table(self.server, self.db_name, tab[0],
|
||||
tab[1])
|
||||
connection.close()
|
||||
except Exception as _:
|
||||
except Exception:
|
||||
self.dropDB()
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user