gocd: Fix subprocess.run usage

This commit is contained in:
Stephan Kulow 2022-03-05 15:28:05 +01:00
parent b51fd11be1
commit 040e91a193

View File

@ -61,7 +61,7 @@ if __name__ == '__main__':
# make sure we avoid a race between gocd polling the notifications repo and
# scheduling a notify job because of other changes. In that case gocd schedules
# a new job on outdated notifications repo and we can't push
subprocess.run(f'cd {args.to} && git pull')
subprocess.run(f'cd {args.to} && git pull', shell=True, check=True)
interesting_repos = dict()
list = openqa.openqa_request('GET', 'obs_rsync')