summaryrefslogtreecommitdiffstats
path: root/lldb/utils/test/llvm-mc-shell.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-03-21 18:27:40 +0000
committerSerge Guelton <sguelton@redhat.com>2019-03-21 18:27:40 +0000
commit525cd59f5a12254e80d5f20bf2d9713728a114d4 (patch)
treebb174d21b449a016712aa1867fdbdff781b34b15 /lldb/utils/test/llvm-mc-shell.py
parent05ea3a6be3ba172e8824a8fb66b799b3cc2c72f3 (diff)
downloadbcm5719-llvm-525cd59f5a12254e80d5f20bf2d9713728a114d4.tar.gz
bcm5719-llvm-525cd59f5a12254e80d5f20bf2d9713728a114d4.zip
Python 2/3 compatibility: from __future__ import print_function
Differential Revision: https://reviews.llvm.org/D59580 llvm-svn: 356695
Diffstat (limited to 'lldb/utils/test/llvm-mc-shell.py')
-rwxr-xr-xlldb/utils/test/llvm-mc-shell.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/utils/test/llvm-mc-shell.py b/lldb/utils/test/llvm-mc-shell.py
index 4d311959842..6adaf5dd3c5 100755
--- a/lldb/utils/test/llvm-mc-shell.py
+++ b/lldb/utils/test/llvm-mc-shell.py
@@ -5,6 +5,8 @@ Run llvm-mc interactively.
"""
+from __future__ import print_function
+
import os
import sys
from optparse import OptionParser
@@ -105,8 +107,8 @@ Usage: %prog [options]
llvm_mc_options = opts.llvm_mc_options
# We have parsed the options.
- print "llvm-mc:", llvm_mc
- print "llvm-mc options:", llvm_mc_options
+ print("llvm-mc:", llvm_mc)
+ print("llvm-mc options:", llvm_mc_options)
llvm_mc_loop(llvm_mc, llvm_mc_options)
OpenPOWER on IntegriCloud