[GRASS-SVN] r72236 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 13 12:55:37 PST 2018


Author: mmetz
Date: 2018-02-13 12:55:37 -0800 (Tue, 13 Feb 2018)
New Revision: 72236

Modified:
   grass/trunk/tools/mkhtml.py
Log:
restore compatibility with python2.6- (fixes #3493)

Modified: grass/trunk/tools/mkhtml.py
===================================================================
--- grass/trunk/tools/mkhtml.py	2018-02-13 19:08:28 UTC (rev 72235)
+++ grass/trunk/tools/mkhtml.py	2018-02-13 20:55:37 UTC (rev 72236)
@@ -35,7 +35,7 @@
     import urllib.parse as urlparse
 
 
-if sys.version_info.major == 2:
+if sys.version_info[0] == 2:
     PY2 = True
 else:
     PY2 = False



More information about the grass-commit mailing list