commit 97c2c690d8983fd1d929a4eae3b0d62bbcb2cf6a
Author: Brant Knudson <email address hidden>
Date: Sun Jun 7 11:20:44 2015 -0500
Switch from deprecated isotime
oslo_utils.timeutils.isotime() is deprecated as of 1.6 so we need
to stop using it.
The deprecation message says to use datetime.datetime.isoformat()
instead, but the format of the string generated by isoformat isn't
the same as the format of the string generated by isotime. The string
is used in tokens and other public APIs and we can't change it
without potentially breaking clients.
So the workaround is to copy the current implementation from
oslo_utils.timeutils.isotime() to keystone.common.utils.isotime().
Reviewed: https:/ /review. openstack. org/189147 /git.openstack. org/cgit/ openstack/ python- keystoneclient/ commit/ ?id=97c2c690d89 83fd1d929a4eae3 b0d62bbcb2cf6a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 97c2c690d8983fd 1d929a4eae3b0d6 2bbcb2cf6a
Author: Brant Knudson <email address hidden>
Date: Sun Jun 7 11:20:44 2015 -0500
Switch from deprecated isotime
oslo_ utils.timeutils .isotime( ) is deprecated as of 1.6 so we need
to stop using it.
The deprecation message says to use datetime. datetime. isoformat( )
instead, but the format of the string generated by isoformat isn't
the same as the format of the string generated by isotime. The string
is used in tokens and other public APIs and we can't change it
without potentially breaking clients.
So the workaround is to copy the current implementation from utils.timeutils .isotime( ) to keystone. common. utils.isotime( ).
oslo_
Change-Id: I34b12b96de3ea2 1beaf935ed8a9f6 bae2fe0d0bc
Closes-Bug: 1461251