diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-04-04 09:24:37 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-04-06 19:35:21 -0500 |
commit | 8f4a2394638912b000682e2211723e4a644915e1 (patch) | |
tree | dcc8bfe8939154ade2c2f4be99758f0f441698d4 /tools/pkgmgr_gen.py | |
parent | 50d489f38e18577cb7e75605515d4b8d567aaa52 (diff) | |
download | bcfg2-8f4a2394638912b000682e2211723e4a644915e1.tar.gz bcfg2-8f4a2394638912b000682e2211723e4a644915e1.tar.bz2 bcfg2-8f4a2394638912b000682e2211723e4a644915e1.zip |
tools: Fixes from a second 2to3 run
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'tools/pkgmgr_gen.py')
-rwxr-xr-x | tools/pkgmgr_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkgmgr_gen.py b/tools/pkgmgr_gen.py index cc7ab3a4c..9ce15b8c3 100755 --- a/tools/pkgmgr_gen.py +++ b/tools/pkgmgr_gen.py @@ -362,7 +362,7 @@ def printPackage(entry, group_count): arch_dict[subarch_mapping[instance['arch']]] = [instance['arch']] # Only keep the 'highest' subarchitecture in each architecture. - for arch in arch_dict.keys(): + for arch in list(arch_dict.keys()): if len(arch_dict[arch]) > 1: arch_dict[arch].sort() for s in arch_dict[arch][:-1]: |