]> https://gitweb.dealii.org/ - candi.git/commitdiff
Fix calling python print 74/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 13 May 2018 19:50:03 +0000 (21:50 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 13 May 2018 19:50:03 +0000 (21:50 +0200)
candi.sh

index b9b114f52fa76ae59a92ed4743e9190b8a550169..697aa74415e0623c2954f10b92cdcaca0fa1f2dc 100755 (executable)
--- a/candi.sh
+++ b/candi.sh
@@ -956,7 +956,7 @@ echo
 
 # If the platform doesn't override the system python by installing its
 # own, figure out the version of the existing python
-default PYTHONVER=`python -c "import sys; print sys.version[:3]"`
+default PYTHONVER=`python -c "import sys; print(sys.version[:3])"`
 
 # Create necessary directories and set appropriate variables
 mkdir -p ${DOWNLOAD_PATH}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.