mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Use new-style classes everywhere
This commit is contained in:
1 parent
a958798769
commit
ef493ae243
25 files changed
+117
-86
No files matched your search
@@ -34,8 +34,8 @@ class Firewall(PagePlugin):
|
||||
"""Firewall menu entry and introduction page"""
|
||||
order = 40
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
def __init__(self):
|
||||
super(Firewall, self).__init__()
|
||||
|
||||
self.register_page('sys.firewall')
|
||||
cfg.html_root.sys.menu.add_item(_('Firewall'), 'icon-flag',
|
||||
|
||||
Reference in new issue
Block a user