1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Well, what should I say: UPS.

This commit is contained in:
Florian Apolloner 2015-05-24 17:33:44 +02:00
parent 43b2d88a5b
commit 92f37e5f5f

View File

@ -199,7 +199,6 @@ class DatabaseWrapper(BaseDatabaseWrapper):
if conn_timezone_name != self.timezone_name:
cursor = self.connection.cursor()
try:
print "UPS"
cursor.execute(self.ops.set_time_zone_sql(), [self.timezone_name])
finally:
cursor.close()