Author: bugman Date: Mon Oct 1 22:41:26 2012 New Revision: 17633 URL: http://svn.gna.org/viewcvs/relax?rev=17633&view=rev Log: Python 3 fix - ensure an integer is actually an integer (division now converts ints to floats). Modified: trunk/info.py Modified: trunk/info.py URL: http://svn.gna.org/viewcvs/relax/trunk/info.py?rev=17633&r1=17632&r2=17633&view=diff ============================================================================== --- trunk/info.py (original) +++ trunk/info.py Mon Oct 1 22:41:26 2012 @@ -131,7 +131,7 @@ """ # Calculate the number of spaces needed. - spaces = (width - len(string)) / 2 + spaces = int((width - len(string)) / 2) # The new string. string = spaces * ' ' + string