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

Ben Hutchings benh at alioth.debian.org
Fri Feb 18 05:45:45 UTC 2011


Author: benh
Date: Fri Feb 18 05:45:40 2011
New Revision: 16909

Log:
stable/gen-patch: Do not require 'backports' config section

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	Fri Feb 18 05:42:25 2011	(r16908)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/stable/gen-patch	Fri Feb 18 05:45:40 2011	(r16909)
@@ -38,7 +38,7 @@
         tag_out = "v%s" % self.version.complete
         print tag_in, tag_out
 
-        backports = self.config[('backports',)]
+        backports = self.config.get(('backports',), {})
         diff_filter = '-x Makefile'
         if self.version.release == self.package_version.upstream:
             diff_filter += ' ' + ' '.join("-x '%s'" % re.sub(r'/$', r'/*', path)



More information about the Kernel-svn-changes mailing list