Projects
Eulaceura:Factory
python-boto
_service:obs_scm:boto-2.40.0-s3-requestlog.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:boto-2.40.0-s3-requestlog.patch of Package python-boto
Index: boto-2.40.0/boto/requestlog.py =================================================================== --- boto-2.40.0.orig/boto/requestlog.py +++ boto-2.40.0/boto/requestlog.py @@ -25,7 +25,7 @@ class RequestLogger(RequestHook): duration = (td.microseconds + long_type(td.seconds + td.days * 24 * 3600) * 1e6) / 1e6 # write output including timestamp, status code, response time, response size, request action - self.request_log_queue.put("'%s', '%s', '%s', '%s', '%s'\n" % (time, response.status, duration, len, request.params['Action'])) + self.request_log_queue.put("'%s', '%s', '%s', '%s', '%s'\n" % (time, response.status, duration, len, request.params.get('Action'))) def _request_log_worker(self): while True:
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2