Skip to content

Commit

Permalink
Update revision_legacy_code.py
Browse files Browse the repository at this point in the history
spacing issue due to Pep8, corrected in Line 402
  • Loading branch information
iamarnavgarg committed May 18, 2019
1 parent 1246b44 commit a59e896
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 == True)
).values(current=False)
)

Expand Down

0 comments on commit a59e896

Please sign in to comment.