From 6afaeb757af0dbd8508a0f2352ade61e41bec84c Mon Sep 17 00:00:00 2001 From: Collin Winter Date: Fri, 3 Aug 2007 17:06:41 +0000 Subject: Convert print statements to function calls in Tools/. --- Tools/scripts/cvsfiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Tools/scripts/cvsfiles.py') diff --git a/Tools/scripts/cvsfiles.py b/Tools/scripts/cvsfiles.py index eac59455b28..9e65dc803d2 100755 --- a/Tools/scripts/cvsfiles.py +++ b/Tools/scripts/cvsfiles.py @@ -21,8 +21,8 @@ def main(): try: opts, args = getopt.getopt(sys.argv[1:], "n:") except getopt.error as msg: - print msg - print __doc__, + print(msg) + print(__doc__, end=' ') return 1 global cutofftime newerfile = None @@ -57,7 +57,7 @@ def process(dir): if cutofftime and getmtime(fullname) <= cutofftime: pass else: - print fullname + print(fullname) for sub in subdirs: process(sub) -- cgit v1.2.3