stable/gen-patch: Do not require 'backports' config section
svn path=/dists/sid/linux-2.6/; revision=17119
This commit is contained in:
parent
9dfe1fc259
commit
1bd2120d0d
|
@ -38,7 +38,7 @@ class GenPatch(object):
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue