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
Jose Diaz-Gonzalez
2016-06-12 04:15:29 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b1ce1a86fcb6f32f54866136fe6e5e3ea6d8a5b2
b1ce1a86
1 parent
3f3e1050
fix code smell
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
kappa/context.py
kappa/context.py
View file @
b1ce1a8
...
...
@@ -51,8 +51,9 @@ class Context(object):
self
.
environment
=
environment
if
self
.
environment
not
in
self
.
config
.
get
(
'environments'
,
{}):
LOG
.
error
(
'Invalid environment {0} specified'
.
format
(
self
.
environment
))
message
=
'Invalid environment {0} specified'
.
format
(
self
.
environment
)
LOG
.
error
(
message
)
sys
.
exit
(
1
)
profile
=
self
.
config
[
'environments'
][
self
.
environment
][
'profile'
]
...
...
Please
register
or
login
to post a comment