Fixed following SonarQube code smells:

1) Remove this useless assignment to a variable.
2) Remove the unused local variable.
This commit is contained in:
Akshay Joshi
2022-01-12 14:53:19 +05:30
parent 374c5e952f
commit e38c38cd58
17 changed files with 30 additions and 42 deletions

View File

@@ -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