diff options
| author | Barry Warsaw | 2007-09-12 22:44:07 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-09-12 22:44:07 -0400 |
| commit | 7fefa8a8f477a88c73fee417143afcf809b530b4 (patch) | |
| tree | 01f24bf9aecd42baeb051d359e5f6ff5cc13feb4 /Mailman/database | |
| parent | 99e02bbec74359407836694a70b1332970076c52 (diff) | |
| download | mailman-7fefa8a8f477a88c73fee417143afcf809b530b4.tar.gz mailman-7fefa8a8f477a88c73fee417143afcf809b530b4.tar.zst mailman-7fefa8a8f477a88c73fee417143afcf809b530b4.zip | |
SQLAlchemy >= 0.3.10 is required.
Diffstat (limited to 'Mailman/database')
| -rw-r--r-- | Mailman/database/model/pending.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/database/model/pending.py b/Mailman/database/model/pending.py index 430f31937..ae2ad3d60 100644 --- a/Mailman/database/model/pending.py +++ b/Mailman/database/model/pending.py @@ -99,8 +99,8 @@ class Pendings(object): return None pending = pendings[0] pendable = UnpendedPendable() - # Find all PendingKeyValue entries that are associated with the - # pending object's ID. + # Find all PendedKeyValue entries that are associated with the pending + # object's ID. q = PendedKeyValue.filter( PendedKeyValue.c.pended_id == Pending.c.id).filter( Pending.c.id == pending.id) @@ -116,8 +116,8 @@ class Pendings(object): now = datetime.datetime.now() for pending in Pending.select(): if pending.expiration_date < now: - # Find all PendingKeyValue entries that are associated with - # the pending object's ID. + # Find all PendedKeyValue entries that are associated with the + # pending object's ID. q = PendedKeyValue.filter( PendedKeyValue.c.pended_id == Pending.c.id).filter( Pending.c.id == pending.id) |
