Do not crash with "swift list --lh" for Ceph RadosGW.
If 'x-timestamp' header is not present in 'swift list' result,
date string cannot be correctly generated. Check for correct
exception to catch this case and return a special string value.
This is just a workaround for faulty RadosGW behavior.
Reviewed: https:/ /review. openstack. org/124856 /git.openstack. org/cgit/ openstack/ python- swiftclient/ commit/ ?id=21fb6f67980 15f9f3b9744cf66 0bdf01822f4b54
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21fb6f6798015f9 f3b9744cf660bdf 01822f4b54
Author: Jiří Suchomel <email address hidden>
Date: Mon Sep 29 22:13:06 2014 +0200
Do not crash with "swift list --lh" for Ceph RadosGW.
If 'x-timestamp' header is not present in 'swift list' result,
date string cannot be correctly generated. Check for correct
exception to catch this case and return a special string value.
This is just a workaround for faulty RadosGW behavior.
Change-Id: I172843a2668e33 efac00924906ff0 dca3e790050
Closes-Bug: 1349528