diff options
| author | Abhilash Raj | 2014-09-13 17:36:16 +0530 |
|---|---|---|
| committer | Abhilash Raj | 2014-09-13 17:36:16 +0530 |
| commit | a9b38e7643ac7dd8d526af22a6e3e9ea73933f59 (patch) | |
| tree | 2a09c32be0745898dbe923d1ebbe87f5a11122b9 /src/mailman/model/uid.py | |
| parent | 4dc18daeaeaf65be50397293b54a9874bfaca228 (diff) | |
| download | mailman-a9b38e7643ac7dd8d526af22a6e3e9ea73933f59.tar.gz mailman-a9b38e7643ac7dd8d526af22a6e3e9ea73933f59.tar.zst mailman-a9b38e7643ac7dd8d526af22a6e3e9ea73933f59.zip | |
Diffstat (limited to 'src/mailman/model/uid.py')
| -rw-r--r-- | src/mailman/model/uid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/model/uid.py b/src/mailman/model/uid.py index cb248b1fa..6486089fa 100644 --- a/src/mailman/model/uid.py +++ b/src/mailman/model/uid.py @@ -74,7 +74,7 @@ class UID(Model): :type uid: unicode :raises ValueError: if the id is not unique. """ - existing = store.find(UID, uid=uid) + existing = store.query(UID).filter_by(uid=uid) if existing.count() != 0: raise ValueError(uid) return UID(uid) |
