Rmove six forgotten before

- six.itervalues

Change-Id: I504c63204507529eda5f7958f8a3137865becec6
This commit is contained in:
wangzihao 2020-10-21 11:10:03 +08:00 committed by Zihao Wang
parent 27f82cb429
commit b665388bf5
1 changed files with 1 additions and 2 deletions

View File

@ -14,7 +14,6 @@
# under the License.
import jinja2
import six
from muranopkgcheck import error
@ -33,7 +32,7 @@ def main():
print('Validators:')
for v in validators.VALIDATORS:
print(v.__name__)
errors = sorted(six.itervalues(error.errors),
errors = sorted(error.errors.values(),
key=lambda item: item['code'])
t = jinja2.Template(TEMPLATE)
r = t.render(errors=errors)