diff options
-rw-r--r-- | deploy/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/common.py b/deploy/common.py index 07ad54372..70a278a29 100644 --- 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, |