From bba986b95cee1ff5e3a9b33b59e0d169f421e591 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Wed, 16 Jun 2010 10:54:01 +0000 Subject: [PATCH] fix typos and cosmetic changes only. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36385 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Interactor/Interactor.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/product/ERP5Type/Interactor/Interactor.py b/product/ERP5Type/Interactor/Interactor.py index 2ef73e3d94..0b3a3cb958 100644 --- a/product/ERP5Type/Interactor/Interactor.py +++ b/product/ERP5Type/Interactor/Interactor.py @@ -1,14 +1,14 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Copyright (c) 2007-2009 Nexedi SA and Contributors. All Rights Reserved. +# Copyright (c) 2007-2010 Nexedi SA and Contributors. All Rights Reserved. # Jean-Paul Smets-Solanes <jp@nexedi.com> # # WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential +# programmers who take the whole responsibility of assessing all potential # consequences resulting from its eventual inadequacies and bugs # End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software +# guarantees and support are strongly adviced to contract a Free Software # Service Company # # This program is Free Software; you can redistribute it and/or @@ -78,7 +78,7 @@ class InteractorMethod(Method): def registerBeforeAction(self, action, args, kw): self.before_action_list.append((action, args, kw)) - + def registerAfterAction(self, action, args, kw): self.after_action_list.append((action, args, kw)) @@ -115,7 +115,7 @@ class InteractorSource: class Interactor: """ - Interactor base class. + Interactor base class. TODO: - implement uninstall in a generic way @@ -127,18 +127,18 @@ class Interactor: Install the interactions. This method must be subclassed. """ raise NotImplementedError - + def uninstall(self): """ Uninstall the interactions. Default implementation is provided by Interactor base class. """ raise NotImplementedError - + # Interaction implementation def on(self, method): """ Parameters may hold predicates ? no need - use InteractorMethodCall and decide on action """ - return InteractorSource(method) \ No newline at end of file + return InteractorSource(method) -- 2.30.9