From a2fd90aca2175c845ad502590ca9f7b7cfffa276 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Tue, 18 Dec 2012 14:40:04 -0500 Subject: [PATCH] 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 --- tools/conf/extract_opts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/conf/extract_opts.py b/tools/conf/extract_opts.py index 00ccfbc2e25e..836e48578e68 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