Commit 2018334a authored by Romain Courteaud's avatar Romain Courteaud

Remove useless return.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14882 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0bdc2cb
...@@ -1004,7 +1004,6 @@ class PlanningBoxWidget(Widget.Widget): ...@@ -1004,7 +1004,6 @@ class PlanningBoxWidget(Widget.Widget):
status = self.basic.build() status = self.basic.build()
if status != 1: if status != 1:
raise PlanningBoxError, status raise PlanningBoxError, status
return self
###### CALL CLASS METHODS TO BUILD PLANNING STRUCTURE ###### ###### CALL CLASS METHODS TO BUILD PLANNING STRUCTURE ######
# creating PlanningStructure instance and initializing its internal values # creating PlanningStructure instance and initializing its internal values
...@@ -1016,7 +1015,6 @@ class PlanningBoxWidget(Widget.Widget): ...@@ -1016,7 +1015,6 @@ class PlanningBoxWidget(Widget.Widget):
if status != 1: if status != 1:
# in case error during planning structure generation # in case error during planning structure generation
raise PlanningBoxError, status raise PlanningBoxError, status
return self
return self return self
......
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