Don't take unnecessary kwargs in exposed methods

This commit is contained in:
Sunil Mohan Adapa committed 2014-06-06 20:37:48 +05:30
1 parent ef493ae243
commit 3e32715a55
4 files changed
+5 -19

No files matched your search

+1 -3
View File
@@ -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