[Erp5-report] r19435 - /erp5/trunk/products/ERP5Type/Accessor/Alias.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Feb 20 15:30:58 CET 2008
Author: jerome
Date: Wed Feb 20 15:30:58 2008
New Revision: 19435
URL: http://svn.erp5.org?rev=19435&view=rev
Log:
Comment out this line, 'instance' is not known in accessor's __init__. This
whole class is probably not used.
For now, I just want to stop the NameError error from pyflakes.
Modified:
erp5/trunk/products/ERP5Type/Accessor/Alias.py
Modified: erp5/trunk/products/ERP5Type/Accessor/Alias.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Accessor/Alias.py?rev=19435&r1=19434&r2=19435&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Accessor/Alias.py (original)
+++ erp5/trunk/products/ERP5Type/Accessor/Alias.py Wed Feb 20 15:30:58 2008
@@ -81,7 +81,7 @@
self._id = id
self.__name__ = id
self._accessor_id = accessor_id
- self.func_code = getattr(instance, self._accessor_id).func_code
+# self.func_code = getattr(instance, self._accessor_id).func_code
def __call__(self, instance, *args, **kw):
method = getattr(instance, self._accessor_id)
More information about the Erp5-report
mailing list