bin/cubicweb-ctl
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Sat, 29 May 2010 10:06:07 +0000
branchstable
changeset 5605 2604545d7dd9
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[win32 SQLServer] connection lost detection The pyodbc driver when connected to SQLServer 2005 reports lost connections in a quite strange way, raising a pyodbc.Error exception with a specific exc.args value. This patch catches these and reconnect properly.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])