Fixed issue with repr encoding (fixes davidhalter/jedi-vim#94)

This commit is contained in:
Danilo Bargen
2013-02-14 21:10:06 +01:00
parent 3ab2b0a244
commit ea9a667425
4 changed files with 10 additions and 6 deletions

View File

@@ -182,3 +182,8 @@ try:
except ImportError:
# python 2.5
import simplejson as json
try:
encoding = sys.stdout.encoding
except AttributeError:
encoding = 'ascii'