[Groonga-commit] groonga/groonga [master] [ChangeLog] use tab instead of a space.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 5月 28日 (土) 23:09:26 JST


Kouhei Sutou	2011-05-28 14:09:26 +0000 (Sat, 28 May 2011)

  New Revision: 2f2b19d76395455f31c5c2165b70d98c4c95946d

  Log:
    [ChangeLog] use tab instead of a space.

  Modified files:
    release/gitlog2changelog.py

  Modified: release/gitlog2changelog.py (+6 -6)
===================================================================
--- release/gitlog2changelog.py    2011-05-28 07:27:35 +0000 (01d4af8)
+++ release/gitlog2changelog.py    2011-05-28 14:09:26 +0000 (86728f2)
@@ -98,16 +98,16 @@ for line in fin:
         i = 0
         commit = ""
         while i < len(commitLine):
-            if len(commitLine) < i + 78:
-                commit = commit.rstrip() + "\n " + commitLine[i:len(commitLine)]
+            if len(commitLine) < i + 71:
+                commit = commit.rstrip() + "\n\t" + commitLine[i:len(commitLine)]
                 break
-            index = commitLine.rfind(' ', i, i+78)
+            index = commitLine.rfind(' ', i, i+71)
             if index > i:
-                commit = commit.rstrip() + "\n " + commitLine[i:index]
+                commit = commit.rstrip() + "\n\t" + commitLine[i:index]
                 i = index+1
             else:
-                commit = commit.rstrip() + "\n " + commitLine[i:78]
-                i = i+79
+                commit = commit.rstrip() + "\n\t" + commitLine[i:71]
+                i = i+72
 
         # Write out the commit line
         fout.write(commit.rstrip() + "\n")




Groonga-commit メーリングリストの案内
Back to archive index