Commit 906a5981 authored by Sebastien Robin's avatar Sebastien Robin

do not change set in loop

parent 21a7feda
from setuptools import setup, find_packages
name = "erp5.recipe.testnode"
version = '1.0.19'
version = '1.0.21'
def read(name):
return open(name).read()
......
......@@ -99,10 +99,14 @@ repository = %(repository_path)s
# kill processes from previous loop if any
for pgpid in process_group_pid_set:
try:
process_group_pid_set.remove(pgpid)
os.killpg(pgpid, signal.SIGTERM)
except:
pass
while True:
try:
process_group_pid_set.pop()
except KeyError:
break
# Make sure we have local repository
if not os.path.exists(repository_path):
parameter_list = [config['git_binary'], 'clone',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment