##// END OF EJS Templates
fallback on lsof if otool not found in libedit detection...
fallback on lsof if otool not found in libedit detection This is necessary for Macs without XCode. It also prevents a crash in the unlikely event that neither is found. lsof detection is vulnerable to false positives if other (non-readline) modules are linked against libedit, but this is also unlikely. closes gh-524

File last commit:

r3408:261328d5
r3937:f1278cba
Show More
__init__.py
8 lines | 330 B | text/x-python | PythonLexer
try:
import validate
if '__docformat__' in validate.__all__ and validate.__version__.split('.') >= ['1', '0', '1']:
# __docformat__ was removed in 1.0.1 but
validate.__all__ = [i for i in validate.__all__ if i != '__docformat__']
from validate import *
except ImportError:
from _validate import *