Commit c0663561 authored by Sebastien Robin's avatar Sebastien Robin

do not assume there is always a solve and diverge method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3897 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e684a2e
...@@ -279,6 +279,7 @@ class Delivery(XMLObject): ...@@ -279,6 +279,7 @@ class Delivery(XMLObject):
deliver is convergent, and if so it will put the delivery deliver is convergent, and if so it will put the delivery
in a solved state, if not convergent in a diverged state in a solved state, if not convergent in a diverged state
""" """
if hasattr(self,'diverge') and hasattr(self,'converge'):
if self.isDivergent(): if self.isDivergent():
self.diverge() self.diverge()
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment