[Erp5-report] r31493 kazuhiko - /erp5/trunk/products/ERP5/Document/SolverTypeInformation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Dec 28 16:36:11 CET 2009


Author: kazuhiko
Date: Mon Dec 28 16:36:10 2009
New Revision: 31493

URL: http://svn.erp5.org?rev=31493&view=rev
Log:
initial implementation of SolverTypeInformation.conflictsWithSolver().

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=31493&r1=31492&r2=31493&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SolverTypeInformation.py [utf8] Mon Dec 28 16:36:10 2009
@@ -55,7 +55,9 @@
     """
     Returns True if the solver conflicts with other_solver. False else.
     """
-    # XXX real implementation is needed.
+    if self.getTestedProperty() == other_solver.getTestedProperty():
+      return True
+    # XXX more condition is needed?
     return False
 
   def reduceConfigurationList(self, configuration_property_id_list):




More information about the Erp5-report mailing list