diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-03-21 18:27:40 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-03-21 18:27:40 +0000 |
commit | 525cd59f5a12254e80d5f20bf2d9713728a114d4 (patch) | |
tree | bb174d21b449a016712aa1867fdbdff781b34b15 /lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py | |
parent | 05ea3a6be3ba172e8824a8fb66b799b3cc2c72f3 (diff) | |
download | bcm5719-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/vim-lldb/python-vim-lldb/vim_ui.py')
-rw-r--r-- | lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py b/lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py index 33eb6650466..bc5b6a4f1ca 100644 --- a/lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py +++ b/lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py @@ -1,6 +1,8 @@ # LLDB UI state in the Vim user interface. +from __future__ import print_function + import os import re import sys @@ -143,7 +145,7 @@ class UI: if curname is not None and is_same_file(curname, fname): move_cursor(line, 0) elif move_cursor: - print "FIXME: not sure where to move cursor because %s != %s " % (vim.current.buffer.name, fname) + print("FIXME: not sure where to move cursor because %s != %s " % (vim.current.buffer.name, fname)) def update_breakpoints(self, target, buffers): """ Decorates buffer with signs corresponding to breakpoints in target. """ @@ -219,7 +221,7 @@ class UI: self.update_pc(process, self.get_user_buffers, goto_file) if status is not None and len(status) > 0: - print status + print(status) def haveBreakpoint(self, file, line): """ Returns True if we have a breakpoint at file:line, False otherwise """ |