1
0
forked from VimPlug/jedi

changing completion of python file objects

This commit is contained in:
Dave Halter
2014-01-12 18:07:58 +01:00
parent 99fe204496
commit 2bde6cde08
5 changed files with 36 additions and 23 deletions

View File

@@ -4,13 +4,13 @@ import os
import time
try:
if not os.name == 'nt':
if os.name == 'nt':
# does not work on Windows, as pyreadline and colorama interfere
raise ImportError
else:
# Use colorama for nicer console output.
from colorama import Fore, init
init()
# does not work on Windows, as pyreadline and colorama interfere
else:
raise ImportError
except ImportError:
class Fore(object):
RED = ''