mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Don't take unnecessary kwargs in exposed methods
This commit is contained in:
1 parent
ef493ae243
commit
3e32715a55
4 files changed
+5
-19
No files matched your search
@@ -58,10 +58,8 @@ class Packages(PagePlugin):
|
||||
|
||||
@cherrypy.expose
|
||||
@require()
|
||||
def index(self, *args, **kwargs):
|
||||
def index(self, **kwargs):
|
||||
"""Serve the form"""
|
||||
del args # Unused
|
||||
|
||||
status = self.get_status()
|
||||
|
||||
form = None
|
||||
|
||||
Reference in new issue
Block a user