mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-20 13:21:28 +00:00
ubuntu-iso: Convert to PEP-8.
This commit is contained in:
parent
5144644ba0
commit
4c6ee076c2
@ -25,7 +25,8 @@ import subprocess
|
|||||||
|
|
||||||
def extract(iso, path):
|
def extract(iso, path):
|
||||||
command = ['isoinfo', '-R', '-i', iso, '-x', path]
|
command = ['isoinfo', '-R', '-i', iso, '-x', path]
|
||||||
pipe = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
pipe = subprocess.Popen(command, stdout=subprocess.PIPE,
|
||||||
|
stderr=subprocess.PIPE)
|
||||||
stdout, stderr = pipe.communicate()
|
stdout, stderr = pipe.communicate()
|
||||||
|
|
||||||
if pipe.returncode != 0:
|
if pipe.returncode != 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user