Merging upstream version 0.16.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
40df5416c1
commit
72676ec535
56 changed files with 615 additions and 161 deletions
qa
|
@ -67,8 +67,8 @@ else:
|
|||
popen_kwargs['env'] = kwargs['_env']
|
||||
|
||||
try:
|
||||
p = subprocess.Popen(args, **popen_kwargs)
|
||||
result = p.communicate()
|
||||
with subprocess.Popen(args, **popen_kwargs) as p:
|
||||
result = p.communicate()
|
||||
except FileNotFoundError as exc:
|
||||
raise CommandNotFound from exc
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue