cubicweb/__main__.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Thu, 02 Jun 2016 17:52:43 +0200
changeset 11286 0b38e373b985
parent 11099 5fdbf6f2db88
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[migration] Drop custom "readfunc" for code.interact in shell As the referenced bug http://bugs.python.org/issue1288615 got fixed in Python 2.6, this is no longer needed. Furthermore the implementation is not Python 3 compatible (raw_input, unicode).

from cubicweb.cwctl import run
import sys

run(sys.argv[1:])