From b4fe14b31355bee3db7e5521ba45b2150063a5e4 Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Tue, 11 May 2004 11:16:27 +0000 Subject: [PATCH] cleaned many logs git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@867 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/SelectionTool.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py index fd5245a8d8..9fd918ee77 100755 --- a/product/ERP5Form/SelectionTool.py +++ b/product/ERP5Form/SelectionTool.py @@ -746,7 +746,6 @@ class SelectionTool( UniqueObject, SimpleItem ): Encoders.encode_base64(msg) pickle_string = msg.get_payload() pickle_string = pickle_string.replace('\n','@@@') - LOG('getPickleAndSignature pickle',0,pickle_string) return pickle_string security.declareProtected(ERP5Permissions.View, 'getPickleAndSignature') @@ -756,9 +755,7 @@ class SelectionTool( UniqueObject, SimpleItem ): pickle string and signature """ pickle_string = self.getPickle(**kw) - LOG('getPickleAndSignature pickle',0,pickle_string) signature = hmac.new(cookie_password,pickle_string).hexdigest() - LOG('getPickleAndSignature signature',0,signature) return (pickle_string,signature) security.declareProtected(ERP5Permissions.View, 'getObjectFromPickle') @@ -768,7 +765,6 @@ class SelectionTool( UniqueObject, SimpleItem ): """ object = None pickle_string = pickle_string.replace('@@@','\n') - LOG('getObjectFromPickleAndSignature pickle_string',0,pickle_string) msg = MIMEBase('application','octet-stream') Encoders.encode_base64(msg) msg.set_payload(pickle_string) @@ -784,9 +780,6 @@ class SelectionTool( UniqueObject, SimpleItem ): cookie_password = self._getCookiePassword() object = None new_signature = hmac.new(cookie_password,pickle_string).hexdigest() - LOG('getObjectFromPickleAndSignature pickle_string',0,pickle_string) - LOG('getObjectFromPickleAndSignature signature',0,signature) - LOG('getObjectFromPickleAndSignature signature',0,new_signature) if new_signature==signature: object = self.getObjectFromPickle(pickle_string) return object -- 2.30.9