summaryrefslogtreecommitdiffstats
path: root/src/lang_cfg.py
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-14 17:34:36 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-06-15 13:11:44 (GMT)
commit98a54c576eec4feda606156ae591854311d9cd0e (patch)
treeb84864b6b256b00ce2c8bc138e1f1e0b45a5f14c /src/lang_cfg.py
parent3333536dfd3066f10183cbeb5a80faef232982fa (diff)
downloadDoxygen-98a54c576eec4feda606156ae591854311d9cd0e.zip
Doxygen-98a54c576eec4feda606156ae591854311d9cd0e.tar.gz
Doxygen-98a54c576eec4feda606156ae591854311d9cd0e.tar.bz2
Added build support for Python3+ and Python2.6+
Diffstat (limited to 'src/lang_cfg.py')
-rw-r--r--src/lang_cfg.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lang_cfg.py b/src/lang_cfg.py
index 329610f..efed05f 100644
--- a/src/lang_cfg.py
+++ b/src/lang_cfg.py
@@ -2,7 +2,7 @@ import sys
if (len(sys.argv) > 1):
if (sys.argv[1] == "ENONLY"):
- print "#define ENGLISH_ONLY"
+ print("#define ENGLISH_ONLY")
else:
- for x in xrange(1, len(sys.argv)):
- print "#define LANG_%s"%(sys.argv[x])
+ for x in range(1, len(sys.argv)):
+ print("#define LANG_%s"%(sys.argv[x]))