Undefined variable referenced in StaticWeb logResponse()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
pylint reports that an undefined variable is being used in the _log_response() method of swift.common.
(the bug is on the last line)
the_request = quote(unquote(
if env.get(
# remote user for zeus
client = env.get(
if not client and 'HTTP_X_
# remote user for other lbs
client = env['HTTP_
if self.log_headers:
for k, v in req.headers.
I have a fix and will submit shortly.
Good grief. Interestingly, we pulled this out of the tree, back into the tree, and still nobody noticed this specifically. How comes?