|
Orion Poplawski |
f810f3 |
diff -up doxygen-1.8.12/addon/doxywizard/doxywizard.rc doxygen-1.8.12/addon/doxywizard/doxywizard
|
|
Orion Poplawski |
f810f3 |
diff -up doxygen-1.8.12/doc/translator.py.rc doxygen-1.8.12/doc/translator.py
|
|
Orion Poplawski |
f810f3 |
--- doxygen-1.8.12/doc/translator.py.rc 2016-05-10 13:51:51.000000000 -0600
|
|
Orion Poplawski |
f810f3 |
+++ doxygen-1.8.12/doc/translator.py 2016-12-21 22:34:41.007132208 -0700
|
|
Orion Poplawski |
f810f3 |
@@ -83,7 +83,7 @@ def xopen(fname, mode='r', encoding='utf
|
|
Orion Poplawski |
f810f3 |
the default 'utf-8-sig' is used (skips the BOM automatically).
|
|
Orion Poplawski |
f810f3 |
'''
|
|
Orion Poplawski |
f810f3 |
|
|
Orion Poplawski |
f810f3 |
- major, minor, patch = (int(e) for e in platform.python_version_tuple())
|
|
Orion Poplawski |
ebbd64 |
+ major, minor, patch = (int(re.sub('[^0-9].*','',e)) for e in platform.python_version_tuple())
|
|
Orion Poplawski |
f810f3 |
if major == 2:
|
|
Orion Poplawski |
f810f3 |
return open(fname, mode=mode) # Python 2 without encoding
|
|
Orion Poplawski |
f810f3 |
else:
|
|
Orion Poplawski |
f810f3 |
@@ -1990,7 +1990,7 @@ class TrManager:
|
|
Orion Poplawski |
f810f3 |
if __name__ == '__main__':
|
|
Orion Poplawski |
f810f3 |
|
|
Orion Poplawski |
f810f3 |
# The Python 2.6+ or 3.3+ is required.
|
|
Orion Poplawski |
f810f3 |
- major, minor, patch = (int(e) for e in platform.python_version_tuple())
|
|
Orion Poplawski |
ebbd64 |
+ major, minor, patch = (int(re.sub('[^0-9].*','',e)) for e in platform.python_version_tuple())
|
|
Orion Poplawski |
f810f3 |
if (major == 2 and minor < 6) or (major == 3 and minor < 0):
|
|
Orion Poplawski |
f810f3 |
print('Python 2.6+ or Python 3.0+ are required for the script')
|
|
Orion Poplawski |
f810f3 |
sys.exit(1)
|