commit c39fd3c54c90748ae264b148ab79b70a9599650f
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Oct 28 01:30:56 2013 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Mon Oct 28 01:30:56 2013 +0000
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
---
man/simplecpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)