[linux] 02/02: debian/bin/buildcheck.py: Adjust for compatibility with Python 3

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Mon Oct 5 20:22:40 UTC 2015


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

benh pushed a commit to branch sid
in repository linux.

commit dbe3ca8808f0a4a4bbe8c075c0fd19810ff49c35
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Mon Oct 5 21:20:19 2015 +0100

    debian/bin/buildcheck.py: Adjust for compatibility with Python 3
    
    Use dict.values() instead of .itervalues().
---
 debian/bin/buildcheck.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/bin/buildcheck.py b/debian/bin/buildcheck.py
index 83802b7..f9fa48b 100755
--- a/debian/bin/buildcheck.py
+++ b/debian/bin/buildcheck.py
@@ -159,7 +159,7 @@ class CheckAbi(object):
                 type, ignore = ignore.split(':')
             if type in ('name', 'module'):
                 p = self._ignore_pattern(ignore)
-                for symbol in symbols.itervalues():
+                for symbol in symbols.values():
                     if p.match(getattr(symbol, type)):
                         filtered.add(symbol.name)
             else:

-- 
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