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 ...@@ -102,11 +102,7 @@ repository = %(repository_path)s
os.killpg(pgpid, signal.SIGTERM) os.killpg(pgpid, signal.SIGTERM)
except: except:
pass pass
while True: process_group_pid_set.clear()
try:
process_group_pid_set.pop()
except KeyError:
break
# Make sure we have local repository # Make sure we have local repository
if not os.path.exists(repository_path): if not os.path.exists(repository_path):
parameter_list = [config['git_binary'], 'clone', 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