Skip to content

Commit

Permalink
Update print statements in more scripts for Py2&3
Browse files Browse the repository at this point in the history
Saw the missing bits in #510 from @dugachen.
  • Loading branch information
xaizek committed Jan 24, 2017
1 parent d20b969 commit 596054f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions bin/generate_kinds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#-*- coding: utf-8 -*-

import re
Expand Down Expand Up @@ -42,7 +42,7 @@
}

if len(sys.argv) != 2:
print "Usage:", sys.argv[0], "<path-to-Index.h>"
print("Usage:", sys.argv[0], "<path-to-Index.h>")
exit(-1)

index = clang.cindex.Index.create()
Expand All @@ -54,7 +54,7 @@
kinds = child
break
else:
print "Index.h doesn't contain CXCursorKind where it is expected, please report a bug."
print("Index.h doesn't contain CXCursorKind where it is expected, please report a bug.")
exit(-1)

kinds_py_path = os.path.join(
Expand Down
2 changes: 1 addition & 1 deletion plugin/snippets/ultisnips.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def snippetsAddSnippet(fullname, word, abbr):
return fullname

def snippetsTrigger():
print vim.current.line
print(vim.current.line)
UltiSnips_Manager.expand()

def snippetsReset():
Expand Down

0 comments on commit 596054f

Please sign in to comment.