From 4f4f7447e1d08aa5576f83266421c4e0e9efb611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Thu, 22 Jun 2006 10:58:22 +0000 Subject: [PATCH] minor style change git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8135 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/PackingList.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/product/ERP5/Document/PackingList.py b/product/ERP5/Document/PackingList.py index efa6a2a1c4..e9863c6ddc 100644 --- a/product/ERP5/Document/PackingList.py +++ b/product/ERP5/Document/PackingList.py @@ -27,10 +27,8 @@ # ############################################################################## -from Globals import InitializeClass, PersistentMapping from AccessControl import ClassSecurityInfo from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface -from Products.CMFCore.utils import getToolByName from Products.ERP5.Document.Delivery import Delivery from zLOG import LOG @@ -89,7 +87,7 @@ class PackingList(Delivery): if self.getSimulationState() not in self.getPortalDraftOrderStateList(): if not self.isSimulated(): return 1 - return Delivery.isDivergent(self,**kw) + return Delivery.isDivergent(self, **kw) ####################################################### # Container computation @@ -113,9 +111,9 @@ class PackingList(Delivery): ########################################################################## # Applied Rule stuff - def updateAppliedRule(self, rule_id="default_delivery_rule",**kw): + def updateAppliedRule(self, rule_id="default_delivery_rule", **kw): """ XXX FIXME: Kept for compatibility updateAppliedRule must be call with the rule_id in workflow script """ - Delivery.updateAppliedRule(self, rule_id,**kw) + Delivery.updateAppliedRule(self, rule_id, **kw) -- 2.30.9