ec2-api/.gitignore
chenghuiyu c65cb663de Fix usage of isotime
The commit I34b12b96de3ea21beaf935ed8a9f6bae2fe0d0bc and
Ib384ae8130dcc6cbd47a837d11ca171ce02ef29e introduced the
deprecated oslo_utils.timeutils.isotime() is deprecated
as of 1.6.

The deprecation message says to use the 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 ec2api.api.ec2utils.

For more informations:
https://docs.openstack.org/oslo.utils/latest/reference/timeutils.html

Change-Id: Id62fb53264b04a7ea6ae3035a129353c5cfa040a
Closes-Bug: #1461251
2018-06-29 16:00:40 +03:00

25 lines
252 B
Plaintext

*.pyc
*~
etc/ec2api/ec2api.conf.sample
.project
.pydevproject
ec2_api.egg-info
.tox
.stestr
*.log
*.egg
*.swp
*.swo
build
dist
.testrepository
/functional_tests.conf*
/buckets
.venv
.coverage*
!.coveragerc
cover/
.idea
ec2api/tests/unit/test_cert.pem