glance/openstack-common.conf
Zhongyue Luo bbe442dddb Glance should use openstack.common.timeutils
Implements blueprint use-common-timeutils

1. Edit openstack-common.conf and import glance/openstack/common/timeutils.py
2. Replace datetime.utcnow with timeutils.utcnow
3. Replace utils.isotime with timeutils.isotime
4. Replace utils.parse_isotime with timeutils.parse_isotime
5. Replace utils.normalize_time with timeutils.normalize_time
6. Remove datetime related functions and datetime related unittests

Change-Id: I014548848f738b00c670be3d372b16f47f6dee96
2012-06-07 23:22:31 +08:00

8 lines
181 B
Plaintext

[DEFAULT]
# The list of modules to copy from openstack-common
modules=cfg,importutils,iniparser,setup,timeutils
# The base module to hold the copy of openstack.common
base=glance