X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/263010ff23d21486b8f5029cfd8c9bee9a04f3f8..bfdba2e4f73fced5d2d37b1351016168883e996b:/code/main.py diff --git a/code/main.py b/code/main.py index c3db122..fd95e84 100755 --- a/code/main.py +++ b/code/main.py @@ -55,10 +55,10 @@ class InvirtWeb(View): @cherrypy.expose @cherrypy.tools.mako(filename="/list.mako") - def list(self, username): + def list(self): """Handler for list requests.""" checkpoint.checkpoint('Getting list dict') - d = getListDict(username, state) + d = getListDict(cherrypy.request.login, cherrypy.request.state) checkpoint.checkpoint('Got list dict') return d index=list