~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/__init__.py

  • Committer: chadnickbok
  • Date: 2009-01-13 05:20:59 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:1107
Fixed an issue with my logout app, and removed a dead reference
to a 'special case' in dispatch

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
 
93
93
    # Check req.app to see if it is valid. 404 if not.
94
94
    if req.app is not None and req.app not in conf.apps.app_url:
95
 
        # Maybe it is a special app!
96
 
        #if req.app == 'logout':
97
 
        #    logout(req)
98
 
        #else:
99
95
        req.throw_error(Request.HTTP_NOT_FOUND,
100
96
            "There is no application called %s." % repr(req.app))
101
97