]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix a microsecond format of isoformat()
authorfumihiko kakuma <kakuma@valinux.co.jp>
Mon, 27 Jul 2015 01:11:18 +0000 (10:11 +0900)
committerfumihiko kakuma <kakuma@valinux.co.jp>
Tue, 28 Jul 2015 04:54:56 +0000 (13:54 +0900)
commite9322c8f65fc7c5b621393cd242fb819c1f904f7
tree0033af28ad5eb17aa2648962be9ab1ef1d1fce30
parente95bc6f5be6b0d3bcf0677e515660f6b972163fe
Fix a microsecond format of isoformat()

isoformat() omits the microsecond from the format when the microsecond is 0.
Therefore, use strftime('%Y-%m-%dT%H:%M:%S.%f') instead.

Related Change-Id: Id6e8645362fe70b1427d45d5b44048fe47aba0f7
Closes-Bug: #1478418

Change-Id: I27059fa3476ceb51033534cc60d40047d88390d7
neutron/agent/rpc.py
neutron/common/constants.py
neutron/tests/unit/agent/test_rpc.py
neutron/tests/unit/extensions/test_agent.py