##// END OF EJS Templates
Backport PR #8271: Allow to set same mode as existing if load fails....
Backport PR #8271: Allow to set same mode as existing if load fails. Setting the mode many times in a row, would fail to actually set the mode if it was failing to load the mode the first time. The prevent the above behavior by falling back **explicitly** to 'null' if mode does not exist yet, or can't be loaded. ...

File last commit:

r13347:54891794
r21463:d66c4462
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from ._pexpect import *