diff options
Diffstat (limited to 'lldb/examples/customization/import-python')
-rw-r--r-- | lldb/examples/customization/import-python/importcmd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/examples/customization/import-python/importcmd.py b/lldb/examples/customization/import-python/importcmd.py index 1d47ad2132f..cf7ac979966 100644 --- a/lldb/examples/customization/import-python/importcmd.py +++ b/lldb/examples/customization/import-python/importcmd.py @@ -1,3 +1,4 @@ +from __future__ import print_function import sys import os import lldb @@ -23,7 +24,7 @@ def do_import(debugger, modname): def pyimport_cmd(debugger, args, result, dict): """Import a Python module given its full path""" - print 'WARNING: obsolete feature - use native command "command script import"' + print('WARNING: obsolete feature - use native command "command script import"') if args == "": return "no module path given" if not (os.sep in args): |