]> granicus.if.org Git - graphviz/commitdiff
apply graphviz-python3_version.patch from #2354
authorJohn Ellson <ellson@research.att.com>
Thu, 12 Sep 2013 15:09:46 +0000 (11:09 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 12 Sep 2013 15:09:46 +0000 (11:09 -0400)
configure.ac

index 1fb63439cea7503e7517923b0f4460586c5df51a..69a730e03cf00b08d14a887dcc065f65528cc2ed 100644 (file)
@@ -1143,7 +1143,7 @@ else
       if test "x$PYTHON" = "x"; then
         use_python="No (python not available)"
       else
-        PYTHON_VERSION=`$PYTHON -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"`
+        PYTHON_VERSION=`$PYTHON -c "import sys; print('%d.%d' % sys.version_info[[0:2]])"`
         if test "x$PYTHON_VERSION" = "x"; then
           PYTHON=
         else