From a8611528f6be178eb053bdafabb905664f89bf0a Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Thu, 19 Aug 2004 09:08:53 +0000 Subject: __str__ should not have arguments. --- python/lasso.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/lasso.py b/python/lasso.py index b9869cc2..77cd8d61 100644 --- a/python/lasso.py +++ b/python/lasso.py @@ -5,7 +5,7 @@ # # PyLasso - Python bindings for Lasso Library # -# Copyright (C) 2003-2004 Easter-eggs, Valery Febvre +# Copyright (C) 2004 Entr'ouvert # http://lasso.entrouvert.org # # Author: Valery Febvre @@ -70,7 +70,7 @@ class ErrorLassoNotInitialized(Error): class ErrorInstanceCreationFailed(Error): code = 3 - def __str__(self, functionName): + def __str__(self): return 'Instance creation failed in Lasso function %s()' % self.functionName -- cgit