]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Replaced deprecated isotime() function
authorBrandon Palm <bapalm@us.ibm.com>
Fri, 9 Oct 2015 13:52:58 +0000 (08:52 -0500)
committerBrandon Palm <bapalm@us.ibm.com>
Mon, 12 Oct 2015 13:16:33 +0000 (08:16 -0500)
commit94ba8b7a2cd8f03763d4ab25223cba690ecf8585
tree7ad46cacb61460098d04b8978a869dcd3cea325d
parentdcbc56426315d4e56e3b254656dc7b89cc71e3d9
Replaced deprecated isotime() function

The agents_db.py was using a deprecated function 'isotime()'.

I removed the deprecated function and replaced it with:
datetime.datetime.isoformat()

https://docs.python.org/2/library/datetime.html

Change-Id: I32b6096fb1a42caef529db0a71fa52f7de5706f5
Closes-Bug: #1504557
neutron/db/agents_db.py