Mercurial > libervia-backend
comparison src/plugins/plugin_misc_text_commands.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 |
---|---|
31 "main": "TextCommands", | 31 "main": "TextCommands", |
32 "handler": "no", | 32 "handler": "no", |
33 "description": _("""IRC like text commands""") | 33 "description": _("""IRC like text commands""") |
34 } | 34 } |
35 | 35 |
36 class TextCommands(): | 36 class TextCommands(object): |
37 #FIXME: doc strings for commands have to be translatable | 37 #FIXME: doc strings for commands have to be translatable |
38 # plugins need a dynamic translation system (translation | 38 # plugins need a dynamic translation system (translation |
39 # should be downloadable independently) | 39 # should be downloadable independently) |
40 | 40 |
41 def __init__(self, host): | 41 def __init__(self, host): |