Don't use deprecated method timeutils.isotime

This method was drepcated and will be removed in
Ie8903e23fc88c03f4da78292a759d18c6a135064, so don't
use it anymore.

Change-Id: If2a6249cfd4ea1cb5eb4dfc4e3333ac9a5aafbf6
This commit is contained in:
ChangBo Guo(gcb)
2016-06-01 19:00:12 +08:00
committed by ChangBo Guo(gcb)
parent 88fec5d4ad
commit f885bc1308

View File

@@ -153,11 +153,11 @@ class LogBook(object):
if self.created_at is not None:
lines.append("%s- created_at = %s"
% (" " * (indent + 1),
timeutils.isotime(self.created_at)))
self.created_at.isoformat()))
if self.updated_at is not None:
lines.append("%s- updated_at = %s"
% (" " * (indent + 1),
timeutils.isotime(self.updated_at)))
self.updated_at.isoformat()))
for flow_detail in self:
lines.append(flow_detail.pformat(indent=indent + 1,
linesep=linesep))