Skip to content

Commit

Permalink
fix code according comment iteration 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeperdeep committed Aug 2, 2024
1 parent b9f357b commit b952656
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,7 @@ def _populate_stored_procedures_dependencies(self, conn: Connection) -> None:
# return str(engine.url.database).strip('"').lower()
# to avoid inconsistency, referenced_database_name in this module repeats the same behavior
# remove after fixing
db_force_converting = (
True if "lower()" in inspect_objects.getsource(self.get_db_name) else False
)
db_force_converting = "lower()" in inspect_objects.getsource(self.get_db_name)

for row in _dependencies:

Expand Down

0 comments on commit b952656

Please sign in to comment.