[Erp5-report] r33956 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Mar 22 16:58:50 CET 2010
Author: kazuhiko
Date: Mon Mar 22 16:58:49 2010
New Revision: 33956
URL: http://svn.erp5.org?rev=33956&view=rev
Log:
do not call getRelativeUrl() if movement is already a str.
Modified:
erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
Modified: erp5/trunk/products/ERP5/Document/SolverTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SolverTypeInformation.py?rev=33956&r1=33955&r2=33956&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] Mon Mar 22 16:58:49 2010
@@ -114,7 +114,10 @@
if self.isLineGroupable():
return ()
- return movement.getRelativeUrl()
+ if isinstance(movement, str):
+ return movement
+ else:
+ return movement.getRelativeUrl()
def getDefaultConfigurationPropertyDict(self, configurable):
"""
More information about the Erp5-report
mailing list