diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-17 19:42:11 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-02-17 19:42:11 -0600 |
commit | e0713d9ccf30b69d34fe1f885c710c1615a0d723 (patch) | |
tree | a077887fb34c306dfc187f6d3389ef8c1d15c676 | |
parent | 0f79732002b624854a5b782354dcb5df7404fc80 (diff) | |
download | mediagoblin-e0713d9ccf30b69d34fe1f885c710c1615a0d723.tar.lz mediagoblin-e0713d9ccf30b69d34fe1f885c710c1615a0d723.tar.xz mediagoblin-e0713d9ccf30b69d34fe1f885c710c1615a0d723.zip |
This one should be dt_to_utc, not db_to_utc, I believe
-rw-r--r-- | mediagoblin/db/migrations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/migrations.py b/mediagoblin/db/migrations.py index 3102801e..886632de 100644 --- a/mediagoblin/db/migrations.py +++ b/mediagoblin/db/migrations.py @@ -1221,7 +1221,7 @@ def datetime_to_utc(db): notification_table = inspect_table(metadata, "core__notifications") for notification in db.execute(notification_table.select()): db.execute(notifiction_table.update().values( - created=db_to_utc(notification.created) + created=dt_to_utc(notification.created) ).where(notification_table.c.id==notification.id)) # Convert ReportBase |