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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 26 18:54:56 CET 2007


Author: jerome
Date: Fri Jan 26 18:54:53 2007
New Revision: 12407

URL: http://svn.erp5.org?rev=12407&view=rev
Log:
generated files should not start with an empty line

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=12407&r1=12406&r2=12407&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Tool/ClassTool.py (original)
+++ erp5/trunk/products/ERP5Type/Tool/ClassTool.py Fri Jan 26 18:54:53 2007
@@ -208,7 +208,7 @@
         """
           Updates a Document with a new text
         """
-        text = """
+        text = """\
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -303,7 +303,7 @@
         """
           Updates a PropertySheet with a new text
         """
-        text = """
+        text = """\
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -387,7 +387,7 @@
         """
           Updates a Extension with a new text
         """
-        text = """
+        text = """\
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -444,7 +444,7 @@
         """
           Updates a Test with a new text
         """
-        text = '''
+        text = '''\
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -550,7 +550,7 @@
           if REQUEST is not None:
             REQUEST.RESPONSE.redirect('%s/manage_viewConstraintList?message=You+must+specify+a+class+name' % (self.absolute_url(),))
             return
-        text = """
+        text = """\
 ##############################################################################
 #
 # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
@@ -693,7 +693,7 @@
         # Create an init file for this Product.
         init = os.path.join(base_path, '__init__.py')
         if not os.path.exists(init):
-          text = '''
+          text = '''\
 ##############################################################################
 #
 # Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.




More information about the Erp5-report mailing list