Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
dd43573
)
Simplify decrement
25/22525/1
author
Peter Barabas
<peter.barabas@ericsson.com>
Wed, 28 Sep 2016 14:07:01 +0000
(16:07 +0200)
committer
Peter Barabas
<peter.barabas@ericsson.com>
Wed, 28 Sep 2016 14:07:01 +0000
(16:07 +0200)
Change-Id: I5ad9ee013cc3ac07e75b4c94d71af3c9fd46d281
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
deploy/common.py
patch
|
blob
|
history
diff --git
a/deploy/common.py
b/deploy/common.py
index
07ad543
..
70a278a
100644
(file)
--- a/
deploy/common.py
+++ b/
deploy/common.py
@@
-57,7
+57,7
@@
def exec_cmd(cmd, check=True, attempts=1, delay=5, verbose=False, mask_args=[],
# a negative value means forever
while attempts != 0:
- attempts
= attempts -
1
+ attempts
-=
1
process = subprocess.Popen(cmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,