view 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
line wrap: on
line source

# Copyright (c) 2003-2006 Ralph Meijer
# See LICENSE for details.

try:
    from twisted.application.service import ServiceMaker
except ImportError:
    from twisted.scripts.mktap import _tapHelper as ServiceMaker

Idavoll = ServiceMaker(
        "Idavoll",
        "idavoll.tap",
        "Jabber Publish-Subscribe Service Component",
        "idavoll")