Commit 24f5d2d2 authored by Jérome Perrin's avatar Jérome Perrin

generated files should not start with an empty line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12407 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1963b114
...@@ -208,7 +208,7 @@ if allowClassTool(): ...@@ -208,7 +208,7 @@ if allowClassTool():
""" """
Updates a Document with a new text Updates a Document with a new text
""" """
text = """ text = """\
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -303,7 +303,7 @@ class %s(XMLObject): ...@@ -303,7 +303,7 @@ class %s(XMLObject):
""" """
Updates a PropertySheet with a new text Updates a PropertySheet with a new text
""" """
text = """ text = """\
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -387,7 +387,7 @@ class PropertySheetTemplate: ...@@ -387,7 +387,7 @@ class PropertySheetTemplate:
""" """
Updates a Extension with a new text Updates a Extension with a new text
""" """
text = """ text = """\
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -444,7 +444,7 @@ def myExtensionMethod(self, param=None): ...@@ -444,7 +444,7 @@ def myExtensionMethod(self, param=None):
""" """
Updates a Test with a new text Updates a Test with a new text
""" """
text = ''' text = '''\
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -550,7 +550,7 @@ class Test(ERP5TypeTestCase): ...@@ -550,7 +550,7 @@ class Test(ERP5TypeTestCase):
if REQUEST is not None: if REQUEST is not None:
REQUEST.RESPONSE.redirect('%s/manage_viewConstraintList?message=You+must+specify+a+class+name' % (self.absolute_url(),)) REQUEST.RESPONSE.redirect('%s/manage_viewConstraintList?message=You+must+specify+a+class+name' % (self.absolute_url(),))
return return
text = """ text = """\
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
...@@ -693,7 +693,7 @@ class ConstraintTemplate(Constraint): ...@@ -693,7 +693,7 @@ class ConstraintTemplate(Constraint):
# Create an init file for this Product. # Create an init file for this Product.
init = os.path.join(base_path, '__init__.py') init = os.path.join(base_path, '__init__.py')
if not os.path.exists(init): if not os.path.exists(init):
text = ''' text = '''\
############################################################################## ##############################################################################
# #
# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment