Add from __future__ import print_function everywhere.

Apparently there were tons of instances I missed last time, I
guess I accidentally ran 2to3 non-recursively.  This should be
every occurrence of a print statement fixed to use a print function
as well as from __future__ import print_function being added to
every file.

After this patch print statements will stop working everywhere in
the test suite, and the print function should be used instead.

llvm-svn: 251121
diff --git a/lldb/test/functionalities/command_script/welcome.py b/lldb/test/functionalities/command_script/welcome.py
index c6d4ddc..5dbf09f 100644
--- a/lldb/test/functionalities/command_script/welcome.py
+++ b/lldb/test/functionalities/command_script/welcome.py
@@ -1,3 +1,4 @@
+from __future__ import print_function
 import lldb, sys
 
 class WelcomeCommand(object):
@@ -8,7 +9,7 @@
         return "Just a docstring for welcome_impl\nA command that says hello to LLDB users"
         
     def __call__(self, debugger, args, exe_ctx, result):
-        print >>result,  ('Hello ' + args + ', welcome to LLDB');
+        print('Hello ' + args + ', welcome to LLDB',  file=result);
         return None;
 
 class TargetnameCommand(object):
@@ -18,7 +19,7 @@
     def __call__(self, debugger, args, exe_ctx, result):
         target = debugger.GetSelectedTarget()
         file = target.GetExecutable()
-        print >>result,  ('Current target ' + file.GetFilename())
+        print('Current target ' + file.GetFilename(), file=result)
         if args == 'fail':
             result.SetError('a test for error in command')
     
@@ -27,19 +28,19 @@
 
 def print_wait_impl(debugger, args, result, dict):
     result.SetImmediateOutputFile(sys.stdout)
-    print >>result,  ('Trying to do long task..')
+    print('Trying to do long task..', file=result)
     import time
     time.sleep(1)
-    print >>result,  ('Still doing long task..')
+    print('Still doing long task..', file=result)
     time.sleep(1)
-    print >>result,  ('Done; if you saw the delays I am doing OK')
+    print('Done; if you saw the delays I am doing OK', file=result)
 
 def check_for_synchro(debugger, args, result, dict):
     if debugger.GetAsync() == True:
-        print >>result,  ('I am running async')
+        print('I am running async', file=result)
     if debugger.GetAsync() == False:
-        print >>result,  ('I am running sync')
+        print('I am running sync', file=result)
 
 def takes_exe_ctx(debugger, args, exe_ctx, result, dict):
-    print >>result, str(exe_ctx.GetTarget())
+    print(str(exe_ctx.GetTarget()), file=result)