[linux] 05/05: gencontrol.py: Delete redundant arguments to ConfigCore.merge

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Nov 12 15:15:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit 91416e456c4580a8b70b6a0266e992fcb15b0300
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu Nov 12 15:12:02 2015 +0000

    gencontrol.py: Delete redundant arguments to ConfigCore.merge
---
 debian/bin/gencontrol.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 548ec24..fba2133 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -109,7 +109,7 @@ class Gencontrol(Base):
         makeflags = makeflags.copy()
         makeflags['ALL_FEATURESETS'] = ' '.join(fs_enabled)
         makeflags['ALL_TRIPLETS'] = ' '.join(triplet_enabled)
-        if not self.config.merge('docs', None, None).get('enabled', True):
+        if not self.config.merge('docs').get('enabled', True):
             makeflags['DO_DOCS'] = False
         super(Gencontrol, self).do_main_makefile(makefile, makeflags, extra)
 
@@ -118,7 +118,7 @@ class Gencontrol(Base):
 
     def do_main_packages(self, packages, vars, makeflags, extra):
         packages.extend(self.process_packages(self.templates["control.main"], self.vars))
-        if self.config.merge('docs', None, None).get('enabled', True):
+        if self.config.merge('docs').get('enabled', True):
             packages.extend(self.process_packages(self.templates["control.docs"], self.vars))
 
     arch_makeflags = (

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list