]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add missing library
authorChuck Short <chuck.short@canonical.com>
Thu, 3 Jan 2013 15:50:57 +0000 (09:50 -0600)
committerChuck Short <chuck.short@canonical.com>
Thu, 3 Jan 2013 15:51:58 +0000 (09:51 -0600)
According to pyflakes:

cinder/api/common.py:246: undefined name 'minidom'
cinder/api/common.py:254: undefined name 'minidom'
cinder/api/common.py:272: undefined name 'minidom'
cinder/api/common.py:284: undefined name 'minidom'

Add from xml.dom import minidom

Change-Id: Iadb1586ac15c29bb1f2154324e529976f82c19f0
Signed-off-by: Chuck Short <chuck.short@canonical.com>
cinder/api/common.py

index f04d9fbe3f24c727bf0e5a0e2efce20977c2f5d4..2ee4a9c62f306e320e3151b9765ffe547da7436d 100644 (file)
@@ -25,6 +25,7 @@ from cinder.api.openstack import wsgi
 from cinder.api import xmlutil
 from cinder import flags
 from cinder.openstack.common import log as logging
+from xml.dom import minidom
 
 
 LOG = logging.getLogger(__name__)