# HG changeset patch # User Ralph Meijer # Date 1207838263 0 # Node ID 0d4474051eeb05c0012b9329c69c391753266faa # Parent fc687620599b5937ab5557545da6ad26b8be089d Typos diff -r fc687620599b -r 0d4474051eeb idavoll/backend.py --- 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, diff -r fc687620599b -r 0d4474051eeb idavoll/pgsql_storage.py --- 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()