Skip to content

Commit

Permalink
MOdified the print statements in test_script to make them function ca…
Browse files Browse the repository at this point in the history
…lls.

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.
  • Loading branch information
ajirving committed Apr 7, 2014
1 parent b49db2e commit da3e0f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_script
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ filename = ''
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 ():
Expand All @@ -32,8 +32,8 @@ activateSettings ()
while True:
input = sys.stdin.readline()
output=b.translate(input)
print output
print(output)

output=s.translate(input)
print output
print(output)

0 comments on commit da3e0f0

Please sign in to comment.