Last modified date for Swift3 middleware isn't formatted correctly
Bug #838905 reported by
Chuck Thier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Medium
|
Chuck Thier |
Bug Description
"s3cmd ls" fails against swift's S3 interface with
An unexpected error has occurred.
Please report the following lines to:
<email address hidden>
Problem: ValueError: time data '2011-08-
Indeed, BucketControlle
I suggest to simply add a Z to the date, in swift3.py the corresponding line in BucketControlle
"".join(
instead of
"".join(
Related branches
lp:~cthier/swift/s3_bucket_date
- David Goetz (community): Approve
- gholt (community): Approve
-
Diff: 26 lines (+4/-1)2 files modifiedswift/common/middleware/swift3.py (+1/-1)
test/unit/common/middleware/test_swift3.py (+3/-0)
Changed in swift: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Chuck Thier (cthier) |
milestone: | none → 1.4.3 |
Changed in swift: | |
status: | In Progress → Fix Committed |
Changed in swift: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.