summaryrefslogtreecommitdiffstats
path: root/tools/conf
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2012-12-18 14:40:04 -0500
committerDan Prince <dprince@redhat.com>2012-12-18 14:40:04 -0500
commita2fd90aca2175c845ad502590ca9f7b7cfffa276 (patch)
tree99836da3700df03c8df179c05ce642140d548e17 /tools/conf
parent0e4076ebbd0d25e5164c180e8983a36a6bdd9cb5 (diff)
downloadnova-a2fd90aca2175c845ad502590ca9f7b7cfffa276.tar.gz
nova-a2fd90aca2175c845ad502590ca9f7b7cfffa276.tar.xz
nova-a2fd90aca2175c845ad502590ca9f7b7cfffa276.zip
Import cfg module in extract_opts.py.
Updates the tools/conf/extract_opts.py module so it imports cfg again. Fixes "global name 'cfg' is not defined" errors which occur without it. Change-Id: Idf7c2c5201c79e7aa359bc555306caadebcc18ce
Diffstat (limited to 'tools/conf')
-rw-r--r--tools/conf/extract_opts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/conf/extract_opts.py b/tools/conf/extract_opts.py
index 00ccfbc2e..836e48578 100644
--- a/tools/conf/extract_opts.py
+++ b/tools/conf/extract_opts.py
@@ -24,6 +24,7 @@ import socket
import sys
import textwrap
+from nova.openstack.common import cfg
from nova.openstack.common import importutils