diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-01-04 18:40:46 -0800 |
---|---|---|
committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-01-09 11:40:04 -0800 |
commit | c27e1ccd3f1a9cda6fff70d87aece6e50eba887d (patch) | |
tree | 29cb36f9e21d24f75ecce5c613e49f1c6ca8a354 /nova/context.py | |
parent | 5b866f3ad18d497d39a35248c2b0fdb62fcfaa81 (diff) | |
download | nova-c27e1ccd3f1a9cda6fff70d87aece6e50eba887d.tar.gz nova-c27e1ccd3f1a9cda6fff70d87aece6e50eba887d.tar.xz nova-c27e1ccd3f1a9cda6fff70d87aece6e50eba887d.zip |
Refactors utils.load_cached_file
* adds a boolean return representing whether file was reloaded
* ensures file is actually closed by using a context manager
Change-Id: I4d998c34caa6dde65aaf780c188778477b7f6753
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions