From 8f4a2394638912b000682e2211723e4a644915e1 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 4 Apr 2011 09:24:37 -0500 Subject: tools: Fixes from a second 2to3 run Signed-off-by: Sol Jerome --- tools/rpmlisting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/rpmlisting.py') diff --git a/tools/rpmlisting.py b/tools/rpmlisting.py index afc9ebed5..141cae172 100644 --- a/tools/rpmlisting.py +++ b/tools/rpmlisting.py @@ -150,7 +150,7 @@ def parse_rpm_filename(path, filename): (blob, subarch, extension) = (rblob[::-1], rsubarch[::-1], rextension[::-1]) (rrelease, rversion, rname) = blob[::-1].split('-', 2) (name, version, release) = (rname[::-1], rversion[::-1], rrelease[::-1]) - if subarch not in subarch_mapping.keys(): + if subarch not in list(subarch_mapping.keys()): raise "%s/%s has invalid subarch %s." % (path, filename, subarch) except: # for incorrectly named rpms (ie, sun's java rpms) we fall back to reading the rpm headers. -- cgit v1.2.3-1-g7c22