[c-c] fix RuntimeError: 'maximum recursion depth exceeded while calling a Python object' we get when creating/upgrading/shelling an instance: hasattr() call __getattribute__, creating an infinite recursion error catched by the interpretor. Avoid this by testing the method is available on the class instead of the instance
#! /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