Author: bugman Date: Tue Oct 16 15:01:03 2012 New Revision: 17864 URL: http://svn.gna.org/viewcvs/relax?rev=17864&view=rev Log: Python 3 fixes for non-used Python code - converted print statements to function calls. Modified: trunk/extern/scientific_python/IO/FortranFormat.py trunk/extern/scientific_python/IO/PDB.py trunk/graphics/wizards/dipole_pair/VectorFieldPlot.py Modified: trunk/extern/scientific_python/IO/FortranFormat.py URL: http://svn.gna.org/viewcvs/relax/trunk/extern/scientific_python/IO/FortranFormat.py?rev=17864&r1=17863&r2=17864&view=diff ============================================================================== --- trunk/extern/scientific_python/IO/FortranFormat.py (original) +++ trunk/extern/scientific_python/IO/FortranFormat.py Tue Oct 16 15:01:03 2012 @@ -33,8 +33,8 @@ >>>s = ' 59999' >>>format = FortranFormat('2I4') >>>line = FortranLine(s, format) - >>>print line[0] - >>>print line[1] + >>>print(line[0]) + >>>print(line[1]) prints:: @@ -46,7 +46,7 @@ >>>format = FortranFormat('2D15.5') >>>line = FortranLine([3.1415926, 2.71828], format) - >>>print str(line) + >>>print(str(line)) prints:: Modified: trunk/extern/scientific_python/IO/PDB.py URL: http://svn.gna.org/viewcvs/relax/trunk/extern/scientific_python/IO/PDB.py?rev=17864&r1=17863&r2=17864&view=diff ============================================================================== --- trunk/extern/scientific_python/IO/PDB.py (original) +++ trunk/extern/scientific_python/IO/PDB.py Tue Oct 16 15:01:03 2012 @@ -45,10 +45,10 @@ Example:: >>>conf = Structure('example.pdb') - >>>print conf + >>>print(conf) >>>for residue in conf.residues: >>> for atom in residue: - >>> print atom + >>> print(atom) @undocumented: atom_format @undocumented: anisou_format Modified: trunk/graphics/wizards/dipole_pair/VectorFieldPlot.py URL: http://svn.gna.org/viewcvs/relax/trunk/graphics/wizards/dipole_pair/VectorFieldPlot.py?rev=17864&r1=17863&r2=17864&view=diff ============================================================================== --- trunk/graphics/wizards/dipole_pair/VectorFieldPlot.py (original) +++ trunk/graphics/wizards/dipole_pair/VectorFieldPlot.py Tue Oct 16 15:01:03 2012 @@ -1259,4 +1259,4 @@ ### append your specific field creation here ### # see http://commons.wikimedia.org/wiki/File:VFPt_charges_plus_minus.svg for an example -#print "individual image description code must be inserted at the end of this program's source code!" +#print("individual image description code must be inserted at the end of this program's source code!")