Toggle navigation
Toggle navigation
This project
Loading...
Sign in
서승완
/
kappa
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Mitch Garnaat
2015-01-07 19:45:43 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9dde453342b64ec42f3c3f2da897cbbe78a328d0
9dde4533
1 parent
37764d19
Fixing Python 3.x issues.
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
kappa/stack.py
tests/unit/test_log.py
tests/unit/test_stack.py
kappa/stack.py
View file @
9dde453
...
...
@@ -118,7 +118,7 @@ class Stack(object):
StackName
=
self
.
name
,
TemplateBody
=
template_body
,
Capabilities
=
[
'CAPABILITY_IAM'
])
LOG
.
debug
(
response
)
except
Exception
,
e
:
except
Exception
as
e
:
if
'ValidationError'
in
str
(
e
):
LOG
.
info
(
'No Updates Required'
)
else
:
...
...
tests/unit/test_log.py
View file @
9dde453
...
...
@@ -16,7 +16,7 @@ import unittest
import
mock
from
kappa.log
import
Log
from
mock_aws
import
get_aws
from
tests.unit.
mock_aws
import
get_aws
class
TestLog
(
unittest
.
TestCase
):
...
...
tests/unit/test_stack.py
View file @
9dde453
...
...
@@ -17,7 +17,7 @@ import os
import
mock
from
kappa.stack
import
Stack
from
mock_aws
import
get_aws
from
tests.unit.
mock_aws
import
get_aws
Config
=
{
'template'
:
'roles.cf'
,
...
...
Please
register
or
login
to post a comment