Initial import to Tizen
[profile/ivi/python-twisted.git] / doc / core / howto / tutorial / listings / finger / finger / tap.py
1 # finger/tap.py
2 from twisted.application import internet, service
3 from twisted.internet import interfaces
4 from twisted.python import usage
5 import finger
6
7 class Options(usage.Options):
8     
9     optParameters = [
10         ['file', 'f', '/etc/users'],
11         ['templates', 't', '/usr/share/finger/templates'],
12         ['ircnick', 'n', 'fingerbot'],
13         ['ircserver', None, 'irc.freenode.net'],
14         ['pbport', 'p', 8889],
15         ]
16
17     optFlags = [['ssl', 's']]
18
19 def makeService(config):
20     return finger.makeService(config)