Comment 2 for bug 1285871

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

Reviewed: https://review.openstack.org/76977
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=a6840be9ac09cca334a37b8ab84c71679581d45e
Submitter: Jenkins
Branch: master

commit a6840be9ac09cca334a37b8ab84c71679581d45e
Author: Steve Baker <email address hidden>
Date: Fri Feb 28 10:29:12 2014 +1300

    revocation_list only call isotime on datetime objects

    If expires is a str then isinstance six.text_type is false then the following
    exception is raised:
    AttributeError: 'str' object has no attribute 'strftime'

    This change explicitly checks for a datetime object, which is what
    timeutils.isotime expects.

    Change-Id: I8012f96498fffe5f54e7f1ca08b7beb6fa168f9c
    Closes-Bug: #1285871