Converting Jedi unicode data to strings

This commit is contained in:
Strahinja Val Markovic 2013-09-16 17:40:36 -07:00
parent 9698bf8789
commit f5ad981f67

View File

@ -66,9 +66,10 @@ class JediCompleter( ThreadedCompleter ):
def ComputeCandidates( self, request_data ): def ComputeCandidates( self, request_data ):
script = self._GetJediScript( request_data ) script = self._GetJediScript( request_data )
return [ server_responses.BuildCompletionData( completion.name, return [ server_responses.BuildCompletionData(
completion.description, str( completion.name ),
completion.doc ) str( completion.description ),
str( completion.doc ) )
for completion in script.completions() ] for completion in script.completions() ]
def DefinedSubcommands( self ): def DefinedSubcommands( self ):