Commit 3c8a1cf3 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Remove a useless expression.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38184 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b23d0ac1
...@@ -150,7 +150,7 @@ class OrderBuilder(XMLObject, Amount, Predicate): ...@@ -150,7 +150,7 @@ class OrderBuilder(XMLObject, Amount, Predicate):
""" """
delivery_module_before_building_script_id = \ delivery_module_before_building_script_id = \
self.getDeliveryModuleBeforeBuildingScriptId() self.getDeliveryModuleBeforeBuildingScriptId()
if delivery_module_before_building_script_id not in ["", None]: if delivery_module_before_building_script_id:
delivery_module = getattr(self.getPortalObject(), self.getDeliveryModule()) delivery_module = getattr(self.getPortalObject(), self.getDeliveryModule())
getattr(delivery_module, delivery_module_before_building_script_id)() getattr(delivery_module, delivery_module_before_building_script_id)()
......
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