Mercurial > libervia-pubsub
annotate twisted/plugins/idavoll.py @ 231:d99047cd90f9
added .hgignore
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 10 May 2012 23:08:08 +0200 |
parents | a219fe70a762 |
children | 564ae55219e1 |
rev | line source |
---|---|
155 | 1 # Copyright (c) 2003-2006 Ralph Meijer |
2 # See LICENSE for details. | |
3 | |
192
a219fe70a762
Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents:
155
diff
changeset
|
4 try: |
a219fe70a762
Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents:
155
diff
changeset
|
5 from twisted.application.service import ServiceMaker |
a219fe70a762
Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents:
155
diff
changeset
|
6 except ImportError: |
a219fe70a762
Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents:
155
diff
changeset
|
7 from twisted.scripts.mktap import _tapHelper as ServiceMaker |
155 | 8 |
192
a219fe70a762
Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents:
155
diff
changeset
|
9 Idavoll = ServiceMaker( |
155 | 10 "Idavoll", |
11 "idavoll.tap", | |
12 "Jabber Publish-Subscribe Service Component", | |
13 "idavoll") |