debian/cubicweb-twisted.postinst
author Christophe de Vienne <cdevienne@gmail.com>
Wed, 11 Dec 2013 17:52:54 +0100 (2013-12-11)
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

if [ -x "/etc/init.d/cubicweb-ctl" ]; then
    invoke-rc.d cubicweb-ctl restart || true
fi
 
 
#DEBHELPER#
 
exit 0