summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/service.py b/nova/service.py
index 0377ba44b..715040323 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -286,7 +286,7 @@ class Service(service.Service):
"""Perform basic config checks before starting processing."""
# Make sure the tempdir exists and is writable
try:
- with utils.tempdir() as tmpdir:
+ with utils.tempdir():
pass
except Exception as e:
LOG.error(_('Temporary directory is invalid: %s'), e)