Skip to content

Commit 7611a8c

Browse files
committed
fixed print function import in python2 for debug mode of pymode
1 parent a3b7994 commit 7611a8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ftplugin/python/pymode.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ if g:pymode_debug
232232
let g:pymode_debug_tempfile=matchstr(
233233
\ execute(
234234
\ g:pymode_python
235+
\ . " from __future__ import print_function;"
235236
\ . " import os;import tempfile; marker='|';"
236237
\ . " print(marker, tempfile.gettempdir(), os.sep, "
237238
\ . "'pymode_debug_file.txt', marker, sep='', end='')"),

0 commit comments

Comments
 (0)