This will make packaging easier.
Change-Id: I8e0f0a3d85bdf073a3b3272f920ad60f27e929e3
Signed-off-by: Zane Bitter <zbitter@redhat.com>
gettext.install('heat', unicode=1)
if scriptname == 'heat-boto':
- from heat import boto_client as heat_client
+ from heat.cfn_client import boto_client as heat_client
else:
- from heat import client as heat_client
+ from heat.cfn_client import client as heat_client
from heat.version import version_info as version
from heat.common import config
from heat.common import exception
-from heat import utils
+from heat.cfn_client import utils
from keystoneclient.v2_0 import client
gettext.install('heat', unicode=1)
-from heat import boto_client_cloudwatch as heat_client
+from heat.cfn_client import boto_client_cloudwatch as heat_client
from heat.version import version_info as version
from heat.common import config
from heat.common import exception
-from heat import utils
+from heat.cfn_client import utils
DEFAULT_PORT=8003
"""
A class that acts as an iterator over an image file's
chunks of data. This is returned as part of the result
- tuple from `heat.client.Client.get_image`
+ tuple from `heat.cfn_client.client.Client.get_image`
"""
def __init__(self, source):
import heat
from heat.common import template_format
from heat.engine import parser
-from heat import client as heat_client
-from heat import boto_client as heat_client_boto
+from heat.cfn_client import client as heat_client
+from heat.cfn_client import boto_client as heat_client_boto
from keystoneclient.v2_0 import client
DEFAULT_STACKNAME = 'teststack'