]> err.no Git - dak/commit
Avoid calling .count(); call .one() and catch the exception.
authorChris Lamb <lamby@debian.org>
Mon, 26 Oct 2009 19:48:14 +0000 (19:48 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 08:18:27 +0000 (08:18 +0000)
commit1f7d2e0d967c3ae513c31c1ce3a1acd7db694909
treeba9c8ddc401eae671a5001ffc907e9f7ed0bb760
parent737ef71b5505428933dc15f1172eaead7360239c
Avoid calling .count(); call .one() and catch the exception.

Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/dbconn.py