Remove unused imports from repo in preperation for pyflakes

Lots of unused imports

Fixes: Bug #1131275

Change-Id: Iacb1d02173b0ec0e0dc81aff84ca6e29e60e2934
Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Steven Dake 2013-02-27 11:00:32 -07:00 committed by Gerrit Code Review
parent eea4a6d16d
commit 2358f6d5bc
13 changed files with 1 additions and 26 deletions

View File

@ -14,7 +14,6 @@
# under the License.
from heat.common import wsgi
from heat.common import context
from heat.rpc import client as rpc_client
from heat.common import identifier
from heat.api.aws import exception

View File

@ -21,10 +21,6 @@ from heat.openstack.common import log as logging
logger = logging.getLogger(__name__)
from boto.ec2.cloudwatch import CloudWatchConnection
from boto.ec2.cloudwatch.metric import Metric
from boto.ec2.cloudwatch.alarm import MetricAlarm, MetricAlarms
from boto.ec2.cloudwatch.alarm import AlarmHistoryItem
from boto.ec2.cloudwatch.datapoint import Datapoint
class BotoCWClient(CloudWatchConnection):

View File

@ -14,7 +14,6 @@
# under the License.
from heat.common import exception
from heat.engine.resources import instance
from heat.engine import resource
from heat.openstack.common import log as logging

View File

@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import time
import urllib
import urlparse
import json

View File

@ -29,9 +29,8 @@ def reset_db():
def setup():
import mox # Fail fast if you don't have mox. Workaround for bug 810424
from heat import db
from heat.db import migration
from heat import db
reset_db()
migration.db_sync()

View File

@ -16,7 +16,6 @@ import os
import util
import verify
import re
import nose
from nose.plugins.attrib import attr
import unittest
import json

View File

@ -16,7 +16,6 @@ import os
import util
import verify
import re
import nose
from nose.plugins.attrib import attr
import unittest
import json

View File

@ -14,7 +14,6 @@
import os
import util
import verify
from nose.plugins.attrib import attr
import unittest

View File

@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import json
import os.path
import mox

View File

@ -22,7 +22,6 @@ import heat.db as db_api
from heat.engine import parser
from heat.engine import template
from heat.engine import event
from heat.engine import resource
tmpl = {

View File

@ -25,14 +25,12 @@ from oslo.config import cfg
from heat.common import exception
from heat.common import context
from heat.common import template_format
from heat.common import identifier
from heat.engine import parser
from heat.engine.resources import instance
from heat.engine.resources import user
from heat.engine.resources import loadbalancer as lb
from heat.engine.resources import wait_condition as wc
from heat.engine.resource import Metadata
from heat.engine.resources import stack
from heat.tests.v1_1 import fakes
from heat.tests import fakes as test_fakes

View File

@ -14,23 +14,15 @@
import mox
import uuid
import time
import datetime
import json
import eventlet
import unittest
from nose.plugins.attrib import attr
from oslo.config import cfg
from heat.tests import fakes
from heat.tests.utils import stack_delete_after
import heat.db as db_api
from heat.common import template_format
from heat.common import identifier
from heat.engine import parser
from heat.engine.resources import instance
from heat.common import context

View File

@ -12,11 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import json
from nose.plugins.attrib import attr
import os
import unittest
import yaml
from heat.common import context
from heat.common import template_format