comparison idavoll/tap.py @ 190:6e6c89eca9db

Make sure optional PostgreSQL connect parameters are passed as None, require wokkel and uuid in setup.py. Release 0.7.2.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 17 May 2008 18:30:39 +0000
parents c61034369463
children 8ab16e319bb8
comparison
equal deleted inserted replaced
189:c61034369463 190:6e6c89eca9db
10 from wokkel.generic import FallbackHandler, VersionHandler 10 from wokkel.generic import FallbackHandler, VersionHandler
11 from wokkel.iwokkel import IPubSubService 11 from wokkel.iwokkel import IPubSubService
12 12
13 from idavoll.backend import BackendService 13 from idavoll.backend import BackendService
14 14
15 __version__ = '0.7.0' 15 __version__ = '0.7.2'
16 16
17 class Options(usage.Options): 17 class Options(usage.Options):
18 optParameters = [ 18 optParameters = [
19 ('jid', None, 'pubsub', 'JID this component will be available at'), 19 ('jid', None, 'pubsub', 'JID this component will be available at'),
20 ('secret', None, 'secret', 'Jabber server component secret'), 20 ('secret', None, 'secret', 'Jabber server component secret'),
21 ('rhost', None, '127.0.0.1', 'Jabber server host'), 21 ('rhost', None, '127.0.0.1', 'Jabber server host'),
22 ('rport', None, '5347', 'Jabber server port'), 22 ('rport', None, '5347', 'Jabber server port'),
23 ('backend', None, 'memory', 'Choice of storage backend'), 23 ('backend', None, 'memory', 'Choice of storage backend'),
24 ('dbuser', None, '', 'Database user (pgsql backend)'), 24 ('dbuser', None, None, 'Database user (pgsql backend)'),
25 ('dbname', None, 'pubsub', 'Database name (pgsql backend)'), 25 ('dbname', None, 'pubsub', 'Database name (pgsql backend)'),
26 ('dbpass', None, '', 'Database password (pgsql backend)'), 26 ('dbpass', None, None, 'Database password (pgsql backend)'),
27 ('dbhost', None, '', 'Database host (pgsql backend)'), 27 ('dbhost', None, None, 'Database host (pgsql backend)'),
28 ('dbport', None, '', 'Database port (pgsql backend)'), 28 ('dbport', None, None, 'Database port (pgsql backend)'),
29 ] 29 ]
30 30
31 optFlags = [ 31 optFlags = [
32 ('verbose', 'v', 'Show traffic'), 32 ('verbose', 'v', 'Show traffic'),
33 ('hide-nodes', None, 'Hide all nodes for disco') 33 ('hide-nodes', None, 'Hide all nodes for disco')