debian/bin/buildcheck.py: Adjust for compatibility with Python 3
Use dict.values() instead of .itervalues().
This commit is contained in:
parent
8ef7aab26b
commit
dbe3ca8808
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue