* fixed one broken indentation
* fixed a problem with sfdisk waiting for input forever (caused by a previous careless change of me)
This commit is contained in:
parent
38843516fa
commit
b7f6afcc67
|
@ -39,9 +39,7 @@ def __partitionDevice(device):
|
||||||
## do not use the "-q" flag, as this spoils the exit code of sfdisk (seems to be a bug)
|
## do not use the "-q" flag, as this spoils the exit code of sfdisk (seems to be a bug)
|
||||||
proc = subprocess.Popen(
|
proc = subprocess.Popen(
|
||||||
shell = False,
|
shell = False,
|
||||||
stdin = subprocess.PIPE,
|
|
||||||
stdout = subprocess.PIPE,
|
stdout = subprocess.PIPE,
|
||||||
stderr = subprocess.PIPE,
|
|
||||||
args = [
|
args = [
|
||||||
SFDISK_BIN,
|
SFDISK_BIN,
|
||||||
"-uM",
|
"-uM",
|
||||||
|
@ -55,7 +53,6 @@ def __rereadPartitions(device):
|
||||||
shell = False,
|
shell = False,
|
||||||
stdin = subprocess.PIPE,
|
stdin = subprocess.PIPE,
|
||||||
stdout = subprocess.PIPE,
|
stdout = subprocess.PIPE,
|
||||||
stderr = subprocess.PIPE,
|
|
||||||
args = [
|
args = [
|
||||||
SFDISK_BIN,
|
SFDISK_BIN,
|
||||||
"-R",
|
"-R",
|
||||||
|
|
Loading…
Reference in a new issue