summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/database/model/pending.py8
-rw-r--r--setup.py2
2 files changed, 5 insertions, 5 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)
diff --git a/setup.py b/setup.py
index a75b96213..86117f083 100644
--- a/setup.py
+++ b/setup.py
@@ -91,7 +91,7 @@ Any other spelling is incorrect.""",
# Third-party requirements.
install_requires = [
'Elixir',
- 'SQLAlchemy',
+ 'SQLAlchemy>=0.3.10',
'munepy',
'wsgiref',
'zope.interface',