annotate twisted/plugins/idavoll.py @ 210:2a0a6a671776

Fix error reporting for older Python versions.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 30 Jan 2009 15:27:33 +0000
parents a219fe70a762
children 564ae55219e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
155
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
1 # Copyright (c) 2003-2006 Ralph Meijer
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
2 # See LICENSE for details.
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
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
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
8
192
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 155
diff changeset
9 Idavoll = ServiceMaker(
155
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
10 "Idavoll",
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
11 "idavoll.tap",
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
12 "Jabber Publish-Subscribe Service Component",
5191ba7c4df8 Work towards first release 0.5.0.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
13 "idavoll")