Code Review
/
fuel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
A simple method to separate configuration for base fuel, plugins, PODs
[fuel.git]
/
deploy
/
common.py
diff --git
a/deploy/common.py
b/deploy/common.py
index
ccd43d7
..
bc27876
100644
(file)
--- a/
deploy/common.py
+++ b/
deploy/common.py
@@
-49,8
+49,13
@@
def exec_cmd(cmd, check=True):
return_code = process.returncode
if check:
if return_code > 0:
return_code = process.returncode
if check:
if return_code > 0:
+ print "Failed command: " + str(cmd)
+ print "Command returned response: " + str(response)
+ print "Command return code: " + str(return_code)
raise Exception(response)
else:
raise Exception(response)
else:
+ print "Command: " + str(cmd)
+ print str(response)
return response
return response, return_code
return response
return response, return_code