Skip to content

Commit

Permalink
Merge pull request pitluga#4 from tyewang/run_focused_bugfix
Browse files Browse the repository at this point in the history
Bugfix: Changes getline to line
  • Loading branch information
pitluga committed Mar 20, 2015
2 parents e3679e8 + b23084f commit 3ecea0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ endfunction

function s:RunFocusedNoseTests()
let virtualenv = FindVirtualEnv()
let line_number = getline('.')
let line_number = line('.')
let file_name = @%
call VimuxRunCommand("clear && " . virtualenv . "nosetests " . file_name . " --line " . line_number)
endfunction

0 comments on commit 3ecea0b

Please sign in to comment.