Mitch Garnaat

Fixing Python 3.x issues.

...@@ -118,7 +118,7 @@ class Stack(object): ...@@ -118,7 +118,7 @@ class Stack(object):
118 StackName=self.name, TemplateBody=template_body, 118 StackName=self.name, TemplateBody=template_body,
119 Capabilities=['CAPABILITY_IAM']) 119 Capabilities=['CAPABILITY_IAM'])
120 LOG.debug(response) 120 LOG.debug(response)
121 - except Exception, e: 121 + except Exception as e:
122 if 'ValidationError' in str(e): 122 if 'ValidationError' in str(e):
123 LOG.info('No Updates Required') 123 LOG.info('No Updates Required')
124 else: 124 else:
......
...@@ -16,7 +16,7 @@ import unittest ...@@ -16,7 +16,7 @@ import unittest
16 import mock 16 import mock
17 17
18 from kappa.log import Log 18 from kappa.log import Log
19 -from mock_aws import get_aws 19 +from tests.unit.mock_aws import get_aws
20 20
21 21
22 class TestLog(unittest.TestCase): 22 class TestLog(unittest.TestCase):
......
...@@ -17,7 +17,7 @@ import os ...@@ -17,7 +17,7 @@ import os
17 import mock 17 import mock
18 18
19 from kappa.stack import Stack 19 from kappa.stack import Stack
20 -from mock_aws import get_aws 20 +from tests.unit.mock_aws import get_aws
21 21
22 Config = { 22 Config = {
23 'template': 'roles.cf', 23 'template': 'roles.cf',
......