Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Fix pep8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krienbühl committed Jan 22, 2016
1 parent 0227ffc commit 01c6773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onegov/form/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ def update(self, submission, form):

files_to_add = set(
id for id in (files - files_to_remove)
if submission.data.get(id)
and not submission.data[id]['data'].startswith('@')
if submission.data.get(id) and
not submission.data[id]['data'].startswith('@')
)

files_to_keep = files - files_to_remove - files_to_add
Expand Down

0 comments on commit 01c6773

Please sign in to comment.