Comment 7 for bug 1419901

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/256306
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=23c7a58f8f1412c28b3a16b79be09c224c9f7d55
Submitter: Jenkins
Branch: master

commit 23c7a58f8f1412c28b3a16b79be09c224c9f7d55
Author: Hisashi Osanai <email address hidden>
Date: Fri Dec 11 18:26:34 2015 +0900

    Fix ClientException handling in Container Sync

    swift/container/sync.py uses swift.common.internal_client.delete_object
    and put_object and expected these methods raise ClientException.
    But delete_object and put_object never raise the exception so this patch
    raises ClientException when urllib2 library raises HTTPError.

    Co-Authored-By: Eran Rom <email address hidden>
    Closes-Bug: #1419901
    Change-Id: I58cbf77988979a07998a46d9d81be84d29b0d9bf