debian/cubicweb-twisted.prerm
author Christophe de Vienne <cdevienne@gmail.com>
Wed, 11 Dec 2013 17:52:54 +0100
changeset 9347 bd841d6ae723
parent 0 b97547f5f1fa
permissions -rw-r--r--
[rset] New method: ResultSet.one() This method will return exactly one entity while enforcing its existence and unicity. The idea is shamelessly borowed from SQLAlchemy Query.one(). Closes #3352314 [jcr: use len(self) instead of len(self.rows)]

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0