Skip to content

Commit

Permalink
Merge commit '5f2e81abd6df619196175b34d0f05b1001bec855' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
jochengcd committed Aug 28, 2016
2 parents 0bdf759 + 5f2e81a commit 0d53436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/oi/forms/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ def __init__(self, *args, **kwargs):
return RuntimeAddIssueRevisionForm

# the other issuerevision from 'variant_add' was taken care of above
if revision.changeset.change_type == (CTYPES['variant_add'] or
revision.issue.variant_set.count()):
if (revision.changeset.change_type == CTYPES['variant_add']) or \
revision.issue.variant_set.count():
class RuntimeBaseIssueRevisionForm(RuntimeIssueRevisionForm):
class Meta(RuntimeIssueRevisionForm.Meta):
fields = RuntimeIssueRevisionForm.Meta.fields
Expand Down

0 comments on commit 0d53436

Please sign in to comment.