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/crypto.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/crypto.py')
-rw-r--r-- | nova/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/crypto.py b/nova/crypto.py index e59a8b1e0d..1b050788f3 100644 --- a/nova/crypto.py +++ b/nova/crypto.py @@ -32,6 +32,7 @@ from oslo_concurrency import processutils from oslo_config import cfg from oslo_log import log as logging from oslo_utils import excutils +from oslo_utils import fileutils from oslo_utils import timeutils import paramiko from pyasn1.codec.der import encoder as der_encoder @@ -42,7 +43,6 @@ from nova import context from nova import db from nova import exception from nova.i18n import _, _LE -from nova.openstack.common import fileutils from nova import paths from nova import utils |