This cruft just tends to build up over time...
Change-Id: I61fd067b431aaa57164c7ff781c9cc8bab04bd4b
Signed-off-by: Zane Bitter <zbitter@redhat.com>
import os.path
import sys
import time
-import json
import logging
import httplib
import os.path
import sys
import time
-import json
import logging
-from urlparse import urlparse
# If ../heat/__init__.py exists, add ../ to Python search path, so that
# it will override what happens to be installed in /usr/(local/)lib/python...
possible_topdir = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]),
# License for the specific language governing permissions and limitations
# under the License.
-from webob.exc import Response
-
from heat.common import wsgi
from heat.common import context
from heat.rpc import client as rpc_client
-from heat.openstack.common import rpc
from heat.common import identifier
from heat.api.aws import exception
import heat.openstack.common.rpc.common as rpc_common
logger = logging.getLogger(__name__)
from boto.cloudformation import CloudFormationConnection
-import json
class BotoClient(CloudFormationConnection):
"""
from lxml import etree
-import os
-import json
from heat.common import client as base_client
from heat.common import exception
import urllib2
import urlparse
-from heat.common import exception
-
from heat.openstack.common import log as logging
logger = logging.getLogger(__name__)
from sqlalchemy import *
from migrate import *
-from heat.common import utils
def upgrade(migrate_engine):
from heat.rpc.api import *
from heat.openstack.common import timeutils
-from heat.engine import parser
from heat.engine import template
-from heat.engine import watchrule
from heat.openstack.common import log as logging
quantumclient_present = False
from heat.common import heat_keystoneclient as kc
-from heat.openstack.common import cfg
from heat.openstack.common import log as logging
logger = logging.getLogger(__name__)
# License for the specific language governing permissions and limitations
# under the License.
-from heat.common import exception
-
from heat.openstack.common import log as logging
from heat.engine.resources.quantum import quantum
# License for the specific language governing permissions and limitations
# under the License.
-import urllib2
-import json
-
from heat.common import exception
from heat.common import template_format
from heat.engine import resource
# under the License.
from heat.common import exception
-from heat.openstack.common import cfg
from heat.engine import resource
from heat.openstack.common import log as logging
import functools
import webob
-import sqlalchemy.exc
from heat.common import context
from heat.db import api as db_api
from heat.db import api as db_api
from heat.engine import parser
from heat.rpc import api as rpc_api
-from heat.common import context as ctxtlib
import eventlet
logger = logging.getLogger(__name__)
absdir = os.path.abspath(reldir)
sys.path.insert(0, absdir)
-from heat.openstack.common import cfg
-
class _AnsiColorizer(object):
"""
setattr(__builtin__, '_', lambda x: x)
import os
-import shutil
from heat.db.sqlalchemy.session import get_engine
import os
import util
import verify
-import re
from nose.plugins.attrib import attr
import unittest
-import json
@attr(speed='slow')
import verify
from nose.plugins.attrib import attr
import unittest
-import os
@attr(speed='slow')
import subprocess
import hashlib
import email
-import json
import time # for sleep
import errno
import tempfile
from pkg_resources import resource_string
from lxml import etree
-from nose.plugins.attrib import attr
-from nose import with_setup
from nose.exc import SkipTest
try:
# under the License.
-import socket
-import json
import unittest
from nose.plugins.attrib import attr
-import re
from heat.api.aws import utils as api_utils
# under the License.
-import socket
import mox
import json
import unittest
from nose.plugins.attrib import attr
-import httplib
import json
-import urlparse
from heat.common import context
from heat.common import identifier
# under the License.
-import socket
import mox
-import json
import unittest
from nose.plugins.attrib import attr
-import httplib
-import json
-import urlparse
-
from heat.common import context
from heat.openstack.common import cfg
from heat.openstack.common import rpc
-import heat.openstack.common.rpc.common as rpc_common
from heat.common.wsgi import Request
from heat.api.aws import exception
import heat.api.cloudwatch.watch as watches
import unittest
import mox
-import json
from nose.plugins.attrib import attr
import unittest
import mox
-import json
from nose.plugins.attrib import attr
import unittest
import mox
-import json
from nose.plugins.attrib import attr
import unittest
import mox
-import json
from nose.plugins.attrib import attr
from heat.common import context
import unittest
from nose.plugins.attrib import attr
-import mox
-import json
from heat.common import identifier
import unittest
import mox
-import json
-import sqlalchemy
from nose.plugins.attrib import attr
-from nose import with_setup
from heat.tests.v1_1 import fakes
from heat.engine.resources import instance as instances
-import heat.db as db_api
from heat.common import template_format
from heat.engine import parser
from heat.openstack.common import uuidutils
import unittest
import mox
-import json
from nose.plugins.attrib import attr
import unittest
from nose.plugins.attrib import attr
-import mox
import json
-from heat.common import context
-from heat.common import exception
from heat.engine import parameters
import unittest
from nose.plugins.attrib import attr
import mox
-import json
from heat.common import context
from heat.common import exception
import unittest
from nose.plugins.attrib import attr
-import mox
from heat.engine import properties
import unittest
import mox
-import json
from nose.plugins.attrib import attr
from nose.plugins.attrib import attr
import mox
-import json
from heat.common import context
from heat.engine import parser
from heat.engine import resource
import unittest
import mox
-import json
from nose.plugins.attrib import attr
# under the License.
import json
-import mox
from nose.plugins.attrib import attr
import os
-import re
import unittest
import yaml
import os
-import eventlet
-import json
import mox
import unittest
import unittest
import mox
-import json
from nose.plugins.attrib import attr
import os
import eventlet
-import json
import mox
import unittest
# under the License.
-import json
import mox
import uuid
import time
import datetime
import mox
from nose.plugins.attrib import attr
-from nose import with_setup
import unittest
from nose.exc import SkipTest
import logging
# See the License for the specific language governing permissions and
# limitations under the License.
-import gettext
-import os
-import subprocess
-
import setuptools
from heat.openstack.common import setup
import eventlet
from eventlet.green import socket
import libssh2
-import time
import os
import random