Changeset 2396 for package_branches


Ignore:
Timestamp:
Aug 9, 2009, 6:45:26 PM (15 years ago)
Author:
quentin
Message:

Get username and state from CherryPy? request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package_branches/invirt-web/cherrypy/code/main.py

    r2395 r2396  
    5656    @cherrypy.expose
    5757    @cherrypy.tools.mako(filename="/list.mako")
    58     def list(self, username):
     58    def list(self):
    5959        """Handler for list requests."""
    6060        checkpoint.checkpoint('Getting list dict')
    61         d = getListDict(username, state)
     61        d = getListDict(cherrypy.request.login, cherrypy.request.state)
    6262        checkpoint.checkpoint('Got list dict')
    6363        return d
Note: See TracChangeset for help on using the changeset viewer.