Skip to content

Commit

Permalink
Merge pull request #184 from kula1922/hotfix/when-venture-have-no-par…
Browse files Browse the repository at this point in the history
…ent-set-venture-paren-false

Hotfix/when venture have no parent set venture paren false
  • Loading branch information
kula1922 committed Jun 3, 2014
2 parents f7927bd + 6c5b277 commit 34c3ef9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ralph_pricing/plugins/collects/ventures.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def update_venture(data):
)
venture.parent = parent
else:
venture.parent = None
parent_created = False
venture.save()
return created + parent_created
Expand Down

0 comments on commit 34c3ef9

Please sign in to comment.