comparison twisted/plugins/sat_pubsub.py @ 268:c8a2166e6a02

fix unicodes issues in twisted plugin
author souliane <souliane@mailoo.org>
date Thu, 12 Jun 2014 16:48:35 +0200
parents d55620ceafed
children 002c59dbc23f
comparison
equal deleted inserted replaced
267:604a92be5288 268:c8a2166e6a02
56 from twisted.application.service import ServiceMaker 56 from twisted.application.service import ServiceMaker
57 except ImportError: 57 except ImportError:
58 from twisted.scripts.mktap import _tapHelper as ServiceMaker 58 from twisted.scripts.mktap import _tapHelper as ServiceMaker
59 59
60 SatPubsub = ServiceMaker( 60 SatPubsub = ServiceMaker(
61 u"Sàt Pubsub", 61 u"Sàt Pubsub".encode('utf-8'),
62 "sat_pubsub.tap", 62 "sat_pubsub.tap",
63 u"Salut à Toi Publish-Subscribe Service Component", 63 u"Salut à Toi Publish-Subscribe Service Component".encode('utf-8'),
64 "sat_pubsub") 64 "sat_pubsub")