diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-04-23 02:58:45 (GMT) |
commit | 591b78f0f314f11192fdf13d3baa66f81b160e44 (patch) | |
tree | a8babbca715c6770a4f2d0cf59ba5bdc16a53b71 /src/engine/SCons/Tool/packaging | |
parent | c86e4726d30ec4d7086f7fb002e960a2dc570490 (diff) | |
download | SCons-591b78f0f314f11192fdf13d3baa66f81b160e44.zip SCons-591b78f0f314f11192fdf13d3baa66f81b160e44.tar.gz SCons-591b78f0f314f11192fdf13d3baa66f81b160e44.tar.bz2 |
http://scons.tigris.org/issues/show_bug.cgi?id=2317
Apply the refactorings from the 'dict' fixer, less occurrences that were
manually audited to be safe. Also pick up changes in bin/sfsum, a Python
file that was not being scanned before.
Diffstat (limited to 'src/engine/SCons/Tool/packaging')
-rw-r--r-- | src/engine/SCons/Tool/packaging/rpm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/packaging/rpm.py b/src/engine/SCons/Tool/packaging/rpm.py index 7480542..d5c1c71 100644 --- a/src/engine/SCons/Tool/packaging/rpm.py +++ b/src/engine/SCons/Tool/packaging/rpm.py @@ -333,7 +333,7 @@ class SimpleTagCompiler: def strip_country_code(tag): return tag[:-2] - replacements = self.tagset.items() + replacements = list(self.tagset.items()) str = "" #domestic = [ (k,v) for k,v in replacements if not is_international(k) ] |