~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 07:12:38 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:506
dispatch.__init__, dispatch.request, cgirequest:
    Removed "username" attribute from Request objects altogether.
    Use req.user.login instead.
consoleservice, userservice, fileservice, debuginfo, studpath:
    Replaced use of "req.username" with "req.user.login".
Yay, refactor complete!

Show diffs side-by-side

added added

removed removed

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