Mercurial > libervia-backend
comparison src/plugins/plugin_misc_quiz.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 |
---|---|
55 "handler": "yes", | 55 "handler": "yes", |
56 "description": _("""Implementation of Quiz game""") | 56 "description": _("""Implementation of Quiz game""") |
57 } | 57 } |
58 | 58 |
59 | 59 |
60 class Quiz(): | 60 class Quiz(object): |
61 | 61 |
62 def __init__(self, host): | 62 def __init__(self, host): |
63 info(_("Plugin Quiz initialization")) | 63 info(_("Plugin Quiz initialization")) |
64 self.host = host | 64 self.host = host |
65 self.games={} | 65 self.games={} |