diff options
| author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-06-01 19:00:12 +0800 |
|---|---|---|
| committer | ChangBo Guo(gcb) <glongwave@gmail.com> | 2016-06-10 14:44:09 +0000 |
| commit | f885bc13087f1fecbab74b762bf48fe6c1a51d48 (patch) | |
| tree | 2ee2a24e2032e1ad2c61c5c404f7ad3a49ac9d3d /taskflow | |
| parent | 88fec5d4ad8e5e8efbf60085fd0f5b96724d403d (diff) | |
| download | taskflow-f885bc13087f1fecbab74b762bf48fe6c1a51d48.tar.gz | |
Don't use deprecated method timeutils.isotime2.2.0
This method was drepcated and will be removed in
Ie8903e23fc88c03f4da78292a759d18c6a135064, so don't
use it anymore.
Change-Id: If2a6249cfd4ea1cb5eb4dfc4e3333ac9a5aafbf6
Diffstat (limited to 'taskflow')
| -rw-r--r-- | taskflow/persistence/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taskflow/persistence/models.py b/taskflow/persistence/models.py index 42e7178..8e79d2a 100644 --- a/taskflow/persistence/models.py +++ b/taskflow/persistence/models.py @@ -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)) |
