remove a sys.path hack that is not needed

This commit is contained in:
David Halter
2013-08-05 16:26:50 +04:30
parent 77d771b10e
commit 9c258ca897

View File

@@ -100,10 +100,6 @@ import os
import re
from ast import literal_eval
if __name__ == '__main__':
import sys
sys.path.insert(0, '..')
import jedi
from jedi._compatibility import unicode, reduce, StringIO, is_py3k
@@ -289,6 +285,7 @@ if __name__ == '__main__':
t_start = time.time()
# Sorry I didn't use argparse here. It's because argparse is not in the
# stdlib in 2.5.
import sys
args = sys.argv[1:]
try:
i = args.index('--thirdparty')