Use new-style classes everywhere

This commit is contained in:
Sunil Mohan Adapa committed 2014-06-06 18:21:54 +05:30
1 parent a958798769
commit ef493ae243
25 files changed
+117 -86

No files matched your search

+3 -2
View File
@@ -22,8 +22,9 @@ class OwnCloud(PagePlugin):
"""ownCloud configuration page"""
order = 90
def __init__(self, *args, **kwargs):
PagePlugin.__init__(self, *args, **kwargs)
def __init__(self):
super(OwnCloud, self).__init__()
self.register_page('apps.owncloud')
cfg.html_root.apps.menu.add_item('Owncloud', 'icon-picture',