Update ci-runner.py

This commit is contained in:
tavplubix 2021-03-17 02:16:03 +03:00 committed by GitHub
parent 5d73a96a51
commit ccf46d8269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ def clear_ip_tables_and_restart_daemons():
iptables_iter = 0
try:
for i in xrange(1000):
for i in range(1000):
iptables_iter = i
# when rules will be empty, it will raise exception
subprocess.check_output("iptables -D DOCKER-USER 1", shell=True)