comparison src/plugins/plugin_exp_pipe.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents 952322b1d490
children e629371a28d3
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
42 "main": "Exp_Pipe", 42 "main": "Exp_Pipe",
43 "handler": "no", 43 "handler": "no",
44 "description": _("""Implementation of SI Pipe Transfer""") 44 "description": _("""Implementation of SI Pipe Transfer""")
45 } 45 }
46 46
47 class Exp_Pipe(): 47 class Exp_Pipe(object):
48 """This is a modified version of XEP-0096 to work with named pipes instead of files""" 48 """This is a modified version of XEP-0096 to work with named pipes instead of files"""
49 49
50 def __init__(self, host): 50 def __init__(self, host):
51 info(_("Plugin Pipe initialization")) 51 info(_("Plugin Pipe initialization"))
52 self.host = host 52 self.host = host