Skip to content

Commit

Permalink
Bugfix: Changes getline to line
Browse files Browse the repository at this point in the history
  • Loading branch information
Tye Wang committed Oct 12, 2014
1 parent e3679e8 commit b23084f
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 b23084f

Please sign in to comment.