a76781bdf6
Parentheses. OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=63
20 lines
794 B
Diff
20 lines
794 B
Diff
Bracketing sys.version_info is wrong and print is only a function im python 3.
|
|
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: graphviz-2.34.0/configure.ac
|
|
===================================================================
|
|
--- graphviz-2.34.0.orig/configure.ac 2013-09-07 03:07:52.000000000 +0200
|
|
+++ graphviz-2.34.0/configure.ac 2013-09-12 16:25:48.006562980 +0200
|
|
@@ -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
|