summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2013-02-19 17:20:30 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2013-02-19 21:16:32 -0800
commit7ca39a6039d58d2f9991e31bf283389e3f588a45 (patch)
treec95b52d97b5e9ccc226b18595f2f4e766a61b5d9 /nova/api
parent3b649422a61dee822d813c6fbf9afb46569587b2 (diff)
downloadnova-7ca39a6039d58d2f9991e31bf283389e3f588a45.tar.gz
nova-7ca39a6039d58d2f9991e31bf283389e3f588a45.tar.xz
nova-7ca39a6039d58d2f9991e31bf283389e3f588a45.zip
Fix broken logging imports.
This fixes all of the files incorrectly importing logging directly and removes the workaround in hacking.py that was due to improper from nova.openstack.common.log import logging statements. Change-Id: Icfc25dc148c4a7b5fa7f6a7b609cd6c3d94efee1
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/validator.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/api/validator.py b/nova/api/validator.py
index ddcc3ed2a..9304387fd 100644
--- a/nova/api/validator.py
+++ b/nova/api/validator.py
@@ -17,10 +17,12 @@
# under the License.
import base64
-import logging
import re
import socket
+from nova.openstack.common import log as logging
+
+
LOG = logging.getLogger(__name__)