diff options
author | Zhongyue Luo <lzyeval@gmail.com> | 2012-06-05 09:11:44 +0800 |
---|---|---|
committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-06-29 06:38:49 +0800 |
commit | c79d93bfbc8a79617a6d3ef4e36fb5de55217d02 (patch) | |
tree | 1940868376325627fe4f16091d4b8e784e0c69fe /openstack-common.conf | |
parent | 8cd73c75cec35d4df49891ee4c36102b4c8d96ff (diff) | |
download | keystone-c79d93bfbc8a79617a6d3ef4e36fb5de55217d02.tar.gz keystone-c79d93bfbc8a79617a6d3ef4e36fb5de55217d02.tar.xz keystone-c79d93bfbc8a79617a6d3ef4e36fb5de55217d02.zip |
Keystone should use openstack.common.timeutils
Implements blueprint use-common-timeutils
1. Edit openstack-common.conf and import keystone/openstack/common/timeutils.py
2. Replace datetime.utcnow with timeutils.utcnow
3. Replace utils.isotime with timeutils.isotime
4. Remove utils.isotime in common/utils.py and datetime related unittest
Change-Id: I4f5a63a368fde8787a0dc0a817c940de685b9ca2
Diffstat (limited to 'openstack-common.conf')
-rw-r--r-- | openstack-common.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack-common.conf b/openstack-common.conf index b96d8123..6042cc6c 100644 --- a/openstack-common.conf +++ b/openstack-common.conf @@ -1,7 +1,7 @@ [DEFAULT] # The list of modules to copy from openstack-common -modules=cfg,importutils,iniparser,jsonutils,setup +modules=cfg,importutils,iniparser,jsonutils,setup,timeutils # The base module to hold the copy of openstack.common base=keystone |