##// END OF EJS Templates
Modifies Contents API to return Error objects...
Modifies Contents API to return Error objects Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.

File last commit:

r13347:54891794
r18661:d632dcb6
Show More
__init__.py
5 lines | 98 B | text/x-python | PythonLexer
Thomas Spura
Also unbundle pexpect...
r3410 try:
import pexpect
from pexpect import *
except ImportError:
Thomas Kluyver
Use explicit relative imports...
r13347 from ._pexpect import *