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.
Reviewed: https:/ /review. openstack. org/76977 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=a6840be9ac0 9cca334a37b8ab8 4c71679581d45e
Committed: https:/
Submitter: Jenkins
Branch: master
commit a6840be9ac09cca 334a37b8ab84c71 679581d45e
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 isotime expects.
timeutils.
Change-Id: I8012f96498fffe 5f54e7f1ca08b7b eb6fa168f9c
Closes-Bug: #1285871