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

« back to all changes in this revision

Viewing changes to lib/common/cgirequest.py

  • Committer: mattgiuca
  • Date: 2008-02-19 06:51:25 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:505
dispatch.html, consoleservice, userservice, interpret:
    Replaced use of session with use of "req.user" object.
    Most of these no longer need to use session at all anymore.
    Those that do do so correctly ("user" field).
This unbreaks the build.

cgirequest: Sets "user" in CGIRequest object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
            self.path = path
145
145
        else:
146
146
            (self.app, self.path) = (common.util.split_path(path))
 
147
        self.user = None
147
148
        self.username = None
148
149
        self.hostname = os.environ['SERVER_NAME']
149
150
        self.headers_in = _http_headers_in_from_cgi()