[kernel] r12215 - dists/sid/linux-2.6/debian/patches/bugfix/all/stable

Bastian Blank waldi at alioth.debian.org
Wed Sep 10 08:14:29 UTC 2008


Author: waldi
Date: Wed Sep 10 08:14:28 2008
New Revision: 12215

Log:
debian/patches/bugfix/all/stable/gen-patch: Wrap log messages.


Modified:
   dists/sid/linux-2.6/debian/patches/bugfix/all/stable/gen-patch

Modified: dists/sid/linux-2.6/debian/patches/bugfix/all/stable/gen-patch
==============================================================================
--- dists/sid/linux-2.6/debian/patches/bugfix/all/stable/gen-patch	(original)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/stable/gen-patch	Wed Sep 10 08:14:28 2008
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-import os.path, re, sys
+import os.path, re, sys, textwrap
 
 class Version(object):
     _rules = ur"^(\d+\.\d+\.\d+)\.(\d+)$"
@@ -45,6 +45,8 @@
             if not line:
                 continue
             hash, log = line.split(' ', 1)
+            log = textwrap.wrap(log, 74)
+            log = '\n      '.join(log)
             out.write("    - %s\n" % log)
         if f.close() is not None:
             raise RuntimeError



More information about the Kernel-svn-changes mailing list