Skip to content

Commit

Permalink
Update revision_legacy_code.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iamarnavgarg committed May 18, 2019
1 parent a59e896 commit 670f7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/migration/revision_legacy_code.py
Expand Up @@ -399,7 +399,7 @@ def make_revision(instances):
model.Session.execute(
revision_table.update().where(
and_(revision_table.c.id == instance.id,
revision_table.c.current == True)
revision_table.c.current is True)
).values(current=False)
)

Expand Down

0 comments on commit 670f7ae

Please sign in to comment.