Skip to content

Commit

Permalink
DI-2029: Dont explicitely close connection
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Nov 9, 2021
1 parent d640ae4 commit 6a4693f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion migratron/command/run_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ def _execute_filename(self, file_content, complete_filename):
cursor.fetchall() # Force non async execution
except ResourceClosedError:
pass
conn.close()
command = None
else:
raise ValueError("Invalid database type")
Expand Down

0 comments on commit 6a4693f

Please sign in to comment.