debian/bin/buildcheck.py: Adjust for compatibility with Python 3

Use dict.values() instead of .itervalues().
This commit is contained in:
Ben Hutchings 2015-10-05 21:20:19 +01:00
parent 8ef7aab26b
commit dbe3ca8808
1 changed files with 1 additions and 1 deletions

View File

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