Mercurial > libervia-pubsub
changeset 181:0d4474051eeb
Typos
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Thu, 10 Apr 2008 14:37:43 +0000 |
parents | fc687620599b |
children | 4aa29b1a8c67 |
files | idavoll/backend.py idavoll/pgsql_storage.py |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/idavoll/backend.py Thu Apr 10 14:33:50 2008 +0000 +++ b/idavoll/backend.py Thu Apr 10 14:37:43 2008 +0000 @@ -37,8 +37,12 @@ "label": "Deliver payloads with event notifications"}, "pubsub#send_last_published_item": {"type": "list-single", - "label": "When to send the last published item', - "options": {'never', 'on_sub'}, + "label": "When to send the last published item", + "options": { + "never": "Never", + "on_sub": "When a new subscription is processed", + } + }, } default_config = {"pubsub#persist_items": True,
--- a/idavoll/pgsql_storage.py Thu Apr 10 14:33:50 2008 +0000 +++ b/idavoll/pgsql_storage.py Thu Apr 10 14:37:43 2008 +0000 @@ -36,7 +36,7 @@ try: (configuration["pubsub#persist_items"], configuration["pubsub#deliver_payloads"], - configuration["pubsub#send_last_published_item") = \ + configuration["pubsub#send_last_published_item"]) = \ cursor.fetchone() except TypeError: raise error.NodeNotFound()