summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/xxci.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
commit6afaeb757af0dbd8508a0f2352ade61e41bec84c (patch)
treef1b31bc7138b17ff39791bbb45aa81583c3b6e46 /Tools/scripts/xxci.py
parente5d0e8431f929cad2da77b63fe1b7dc0ff21a428 (diff)
downloadcpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.zip
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.gz
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.bz2
Convert print statements to function calls in Tools/.
Diffstat (limited to 'Tools/scripts/xxci.py')
-rwxr-xr-xTools/scripts/xxci.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/xxci.py b/Tools/scripts/xxci.py
index 1e77c87..c1ebe5f 100755
--- a/Tools/scripts/xxci.py
+++ b/Tools/scripts/xxci.py
@@ -18,14 +18,14 @@ def getargs():
args = sys.argv[1:]
if args:
return args
- print 'No arguments, checking almost *, in "ls -t" order'
+ print('No arguments, checking almost *, in "ls -t" order')
list = []
for file in os.listdir(os.curdir):
if not skipfile(file):
list.append((getmtime(file), file))
list.sort()
if not list:
- print 'Nothing to do -- exit 1'
+ print('Nothing to do -- exit 1')
sys.exit(1)
list.sort()
list.reverse()
@@ -89,7 +89,7 @@ def badsuffix(file):
def go(args):
for file in args:
- print file + ':'
+ print(file + ':')
if differing(file):
showdiffs(file)
if askyesno('Check in ' + file + ' ? '):
@@ -119,4 +119,4 @@ if __name__ == '__main__':
setup()
go(getargs())
except KeyboardInterrupt:
- print '[Intr]'
+ print('[Intr]')