From f6a7f1593389838d682b1c81968327d4d88ba551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Wed, 19 Aug 2009 10:42:46 +0000 Subject: [PATCH] clean up some commented out code git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28458 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Base.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 96db9fe9a6..1632e7845f 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -328,24 +328,16 @@ class PropertyHolder: accessor = Base._doNothing else: # Case 2 : a workflow method over an accessor - #LOG('createAccessor', 0, "%s %s %s" % (ptype, id, fake_accessor)) (accessor_class, accessor_args, key) = fake_accessor accessor = accessor_class(id, key, *accessor_args) - #permission = getattr(self, '%s__roles__' % id, None) - #if permission is not None: - #LOG('Found security declaration', 0, id) - #accessor.__roles__ = permission.__of__(self) - #LOG('Found security declaration2', 0, repr(permission.__of__(self))) for wf_id, tr_id, once in self.workflow_method_registry.get(id, ()): if not isinstance(accessor, WorkflowMethod): - #LOG('createWorkflowMethod', 0, "%s %s %s %s" % (ptype, id, wf_id, tr_id)) accessor = WorkflowMethod(accessor) if once: accessor.registerTransitionOncePerTransaction(ptype, wf_id, tr_id) else: accessor.registerTransitionAlways(ptype, wf_id, tr_id) else: - #LOG('registerTransition', 0, "%s %s %s %s" % (ptype, id, wf_id, tr_id)) if once: accessor.registerTransitionOncePerTransaction(ptype, wf_id, tr_id) else: -- 2.30.9