Commit dbf4f3d1 authored by Sebastien Robin's avatar Sebastien Robin

there is a clear() method on set, it's much nicer to use it

parent 098ebbcc
......@@ -102,11 +102,7 @@ repository = %(repository_path)s
os.killpg(pgpid, signal.SIGTERM)
except:
pass
while True:
try:
process_group_pid_set.pop()
except KeyError:
break
process_group_pid_set.clear()
# 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