Skip to content

Commit

Permalink
Auto merge of ycm-core#303 - micbou:python-restart-server, r=Valloric
Browse files Browse the repository at this point in the history
[READY] Fix RestartServer command in Python completer

`RestartServer` subcommand is not working because the `request_data` parameter is not given to the `RestartServer` method. Since this parameter is not used, remove it.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/303)
<!-- Reviewable:end -->
  • Loading branch information
homu committed Jan 9, 2016
2 parents 9e0c19d + 02a5dee commit 9164e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ycmd/completers/python/jedi_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def ServerIsRunning( self ):
return False


def RestartServer( self, request_data ):
def RestartServer( self ):
""" Restart the JediHTTP Server. """
with self._server_lock:
self._StopServer()
Expand Down

0 comments on commit 9164e2e

Please sign in to comment.