diff options
author | Sergey Vilgelm <sergey@vilgelm.info> | 2015-07-08 16:45:36 +0300 |
---|---|---|
committer | Sergey Vilgelm <sergey@vilgelm.info> | 2015-07-24 14:10:44 +0300 |
commit | 741f163fc528cd1146052b22324928575ec9ac35 (patch) | |
tree | 8eec00d2b75afaccb3ffa2e42fcd56e205c0a6f3 /nova/virt/images.py | |
parent | 0d696adcea400da3435382a49a632f23283242f3 (diff) | |
download | nova-741f163fc528cd1146052b22324928575ec9ac35.tar.gz |
Switch to the oslo_utils.fileutils
fileutils is graduated in the oslo.utils library.
Remove old implementation of the read_cached_file function
in the nova.utils and move from the fileutils the read_cached_file
and delete_cached_file functions to the nova.utils module and
the unit tests for these functions.
Implements: blueprint graduate-fileutils[1]
[1] https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-fileutils
Depends-On: I51ba9076e1fbc16145ee2311f47b7768c16dcb20 (requirements)
Change-Id: I849f1c74ec811dbe82ba6270569a008a49eab465
Diffstat (limited to 'nova/virt/images.py')
-rw-r--r-- | nova/virt/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py index 57d27aad93..c8f1b6c254 100644 --- a/nova/virt/images.py +++ b/nova/virt/images.py @@ -23,11 +23,11 @@ import os from oslo_config import cfg from oslo_log import log as logging +from oslo_utils import fileutils from nova import exception from nova.i18n import _, _LE from nova import image -from nova.openstack.common import fileutils from nova.openstack.common import imageutils from nova import utils |