Skip to content

Commit

Permalink
[#2006] Tidy up on the writing to the deprecated columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Nov 4, 2014
1 parent 0733c0d commit b985a53
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckan/model/meta.py
Expand Up @@ -100,9 +100,7 @@ def before_commit(self, session):
values = {}
if rev_obj.revision_id == revision.id:
values['revision_timestamp'] = revision.timestamp
values['current'] = '1'
else:
values['expired_id'] = revision.id
values['expired_timestamp'] = revision.timestamp
session.execute(
revision_table.update().where(
Expand Down

0 comments on commit b985a53

Please sign in to comment.