From f31f82992f83ae0b6eeee3ac2913ab962ffd9907 Mon Sep 17 00:00:00 2001 From: Chris Behrens Date: Thu, 15 Nov 2012 21:45:59 +0000 Subject: [PATCH] Remove nova.flags imports from scheduler code nova.flags is no longer needed. nova.config is now used. Removes FLAGS and LOG from baremetal_host_manager completely, which doesn't use them. Change-Id: Ia1a4597e28e8ebb8adc5a77b8b006aabe354ac15 --- nova/scheduler/multi.py | 1 - nova/scheduler/rpcapi.py | 1 - 2 files changed, 2 deletions(-) diff --git a/nova/scheduler/multi.py b/nova/scheduler/multi.py index 7c68bb12..98888163 100644 --- a/nova/scheduler/multi.py +++ b/nova/scheduler/multi.py @@ -28,7 +28,6 @@ https://bugs.launchpad.net/nova/+bug/1009681 """ from nova import config -from nova import flags from nova.openstack.common import cfg from nova.openstack.common import importutils from nova.scheduler import driver diff --git a/nova/scheduler/rpcapi.py b/nova/scheduler/rpcapi.py index cbb6712d..b0c83d69 100644 --- a/nova/scheduler/rpcapi.py +++ b/nova/scheduler/rpcapi.py @@ -19,7 +19,6 @@ Client side of the scheduler manager RPC API. """ from nova import config -from nova import flags from nova.openstack.common import jsonutils import nova.openstack.common.rpc.proxy