From 7ca39a6039d58d2f9991e31bf283389e3f588a45 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Tue, 19 Feb 2013 17:20:30 -0800 Subject: 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 --- nova/api/validator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nova/api') 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__) -- cgit