[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.
#! /bin/sh -e
case "$1" in
purge)
rm -rf /etc/cubicweb.d/
rm -rf /var/run/cubicweb/
rm -rf /var/log/cubicweb/
rm -rf /var/lib/cubicweb/
;;
esac
#DEBHELPER#
exit 0