[Erp5-report] r29806 - /erp5/trunk/products/ERP5Type/Tool/ClassTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 19 17:39:06 CEST 2009


Author: nicolas.dumazet
Date: Mon Oct 19 17:39:06 2009
New Revision: 29806

URL: http://svn.erp5.org?rev=29806&view=rev
Log:
Use booleans instead of 1/0 in default Test template

Modified:
    erp5/trunk/products/ERP5Type/Tool/ClassTool.py

Modified: erp5/trunk/products/ERP5Type/Tool/ClassTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Tool/ClassTool.py?rev=29806&r1=29805&r2=29806&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Tool/ClassTool.py [utf8] Mon Oct 19 17:39:06 2009
@@ -579,15 +579,15 @@
 
   def enableLightInstall(self):
     """
-    Return if we should do a light install (1) or not (0)
-    """
-    return 1
+    Return if we should do a light install or not
+    """
+    return True
 
   def enableActivityTool(self):
     """
-    Return if we should create (1) or not (0) an activity tool
-    """
-    return 1
+    Return if we should create or not an activity tool
+    """
+    return True
 
   def afterSetUp(self):
     """




More information about the Erp5-report mailing list