manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1561483 - /manifoldcf/release-scripts/create_site_branch.py
Date Sun, 26 Jan 2014 12:33:37 GMT
Author: kwright
Date: Sun Jan 26 12:33:36 2014
New Revision: 1561483

URL: http://svn.apache.org/r1561483
Log:
Newlines

Modified:
    manifoldcf/release-scripts/create_site_branch.py

Modified: manifoldcf/release-scripts/create_site_branch.py
URL: http://svn.apache.org/viewvc/manifoldcf/release-scripts/create_site_branch.py?rev=1561483&r1=1561482&r2=1561483&view=diff
==============================================================================
--- manifoldcf/release-scripts/create_site_branch.py (original)
+++ manifoldcf/release-scripts/create_site_branch.py Sun Jan 26 12:33:36 2014
@@ -30,7 +30,7 @@ def match_change_txt_dev_line(line):
     return end_index != -1
 
 def make_change_txt_release_line(build_version):
-    return "======================= Release %s =====================" % build_version
+    return "======================= Release %s =====================\n" % build_version
 
 def add_change_file_release_row(change_file_path, release_version):
     """ Convert the -dev row in a change file to a release row """
@@ -63,7 +63,7 @@ def match_change_txt_add_line(line):
     return line.find("===") >= 0
 
 def make_change_txt_dev_line(dev_version):
-    return "======================= %s-dev =====================" % dev_version;
+    return "======================= %s-dev =====================\n" % dev_version;
 
 def add_change_file_new_dev_row(change_file_path, dev_version):
     """ Add a new -dev row to the start of a change file """
@@ -79,8 +79,8 @@ def add_change_file_new_dev_row(change_f
                 else:
                     if match_change_txt_add_line(line):
                         out_fd.write(make_change_txt_dev_line(dev_version))
-                        out_fd.write("")
-                        out_fd.write("")
+                        out_fd.write("\n")
+                        out_fd.write("\n")
                         added_row = True
                     else:
                         out_fd.write(line)



Mime
View raw message