Skip to content

Commit 8f5e856

Browse files
committed
Merge pull request python-mode#608 from sphaugh/develop
Fix: empty output/no errors
2 parents f8ca4d2 + 12c4420 commit 8f5e856

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fun! pymode#quickfix_open(onlyRecognized, maxHeight, minHeight, jumpError) "{{{
5454
redraw
5555
if numOthers > 0
5656
call pymode#wide_message(printf('Quickfix: %d(+%d)', numErrors, numOthers))
57-
else
57+
elseif numErrors > 0
5858
call pymode#wide_message(printf('Quickfix: %d', numErrors))
5959
endif
6060
endfunction "}}}

pymode/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def run_code():
6262
errors += [er for er in err.splitlines() if er and "<string>" not in er]
6363

6464
env.let('l:traceback', errors[2:])
65-
env.let('l:output', [s for s in output.split('\n')])
65+
env.let('l:output', [s for s in output.splitlines()])
6666

6767

6868
def __prepare_lines(line1, line2):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy