|
From: <ala...@us...> - 2014-04-07 17:00:59
|
Revision: 473
http://sourceforge.net/p/latex-access/code/473
Author: alastair-irving
Date: 2014-04-07 17:00:56 +0000 (Mon, 07 Apr 2014)
Log Message:
-----------
MOdified the print statements in test_script to make them function calls.
This is the first of many changes which need to be made to make us compatible with Python 3. I hope to do this without breaking backwards compatability with python 2.
Modified Paths:
--------------
test_script
Modified: test_script
===================================================================
--- test_script 2014-04-07 15:12:16 UTC (rev 472)
+++ test_script 2014-04-07 17:00:56 UTC (rev 473)
@@ -14,7 +14,7 @@
if len(sys.argv) > 1:
filename = os.path.expanduser(sys.argv[1])
if not os.path.exists(filename):
- print "Config file you specified doesn't exist, continuing anyway with defaults."
+ print("Config file you specified doesn't exist, continuing anyway with defaults.")
filename=''
def activateSettings ():
@@ -32,8 +32,8 @@
while True:
input = sys.stdin.readline()
output=b.translate(input)
- print output
+ print(output)
output=s.translate(input)
- print output
+ print(output)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|