]> granicus.if.org Git - llvm/commitdiff
[lit] Use Python 3 style print to satisfy some bots
authorReid Kleckner <rnk@google.com>
Wed, 5 Apr 2017 17:05:31 +0000 (17:05 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 5 Apr 2017 17:05:31 +0000 (17:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299564 91177308-0d34-0410-b5e6-96231b3b80d8

utils/lit/lit/run.py

index 10f21c7b2e8aecd34e2938daec238eae4f04821e..759423901087daeecfdacef10082a9bac5e64eb6 100644 (file)
@@ -359,7 +359,7 @@ class Run(object):
         # Install a console-control signal handler on Windows.
         if win32api is not None:
             def console_ctrl_handler(type):
-                print "Ctr-C received, terminating"
+                print('\nCtrl-C detected, terminating.')
                 pool.terminate()
                 pool.join()
                 os.kill(0,9)