Mercurial > libervia-backend
comparison src/plugins/plugin_misc_groupblog.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 |
---|---|
71 pass | 71 pass |
72 | 72 |
73 class UnknownType(Exception): | 73 class UnknownType(Exception): |
74 pass | 74 pass |
75 | 75 |
76 class GroupBlog(): | 76 class GroupBlog(object): |
77 """This class use a SàT PubSub Service to manage access on microblog""" | 77 """This class use a SàT PubSub Service to manage access on microblog""" |
78 | 78 |
79 def __init__(self, host): | 79 def __init__(self, host): |
80 info(_("Group blog plugin initialization")) | 80 info(_("Group blog plugin initialization")) |
81 self.host = host | 81 self.host = host |