summaryrefslogtreecommitdiff
path: root/man/simplecpp
diff options
context:
space:
mode:
authorSimon Howard2013-10-28 01:30:56 +0000
committerSimon Howard2013-10-28 01:30:56 +0000
commitc39fd3c54c90748ae264b148ab79b70a9599650f (patch)
treeb65033798e9e776e16e6b00d573963635661f04c /man/simplecpp
parentee40db2fcd700d96bcba1ed2b6a9a9e75a76563a (diff)
downloadchocolate-doom-c39fd3c54c90748ae264b148ab79b70a9599650f.tar.gz
chocolate-doom-c39fd3c54c90748ae264b148ab79b70a9599650f.tar.bz2
chocolate-doom-c39fd3c54c90748ae264b148ab79b70a9599650f.zip
Use .items() rather than .iteritems() for compatibility with Python 2.7
and Python 3.0 (thanks chungy). Subversion-branch: /branches/v2-branch Subversion-revision: 2726
Diffstat (limited to 'man/simplecpp')
-rwxr-xr-xman/simplecpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/simplecpp b/man/simplecpp
index 000940fc..4cb58a4c 100755
--- a/man/simplecpp
+++ b/man/simplecpp
@@ -217,7 +217,7 @@ def read_block(stream, ignore):
func(arg)
else:
if not ignore:
- for key, value in defines.iteritems():
+ for key, value in defines.items():
if isinstance(value, str):
line = line.replace(key, value)
print(line)