spelling fixed
This commit is contained in:
parent
9ce310035a
commit
b4f6312fb2
|
@ -626,7 +626,7 @@ class CryptoBoxContainer:
|
||||||
self.cbox.prefs["Programs"]["mkfs"],
|
self.cbox.prefs["Programs"]["mkfs"],
|
||||||
"-t", fs_type, self.device])
|
"-t", fs_type, self.device])
|
||||||
loc_data.proc.wait()
|
loc_data.proc.wait()
|
||||||
## for to allow error detection
|
## wait to allow error detection
|
||||||
if loc_data.proc.returncode == 0:
|
if loc_data.proc.returncode == 0:
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
## skip cleanup stuff (as common for sys.exit)
|
## skip cleanup stuff (as common for sys.exit)
|
||||||
|
@ -643,7 +643,7 @@ class CryptoBoxContainer:
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
## if the thread exited very fast, then it failed
|
## if the thread exited very fast, then it failed
|
||||||
if not bg_task.isAlive():
|
if not bg_task.isAlive():
|
||||||
raise CBCreateError("Failed to initilize device: %s" % self.device)
|
raise CBCreateError("Failed to initialize device: %s" % self.device)
|
||||||
|
|
||||||
|
|
||||||
def __create_luks(self, password, fs_type="ext3"):
|
def __create_luks(self, password, fs_type="ext3"):
|
||||||
|
|
Loading…
Reference in a new issue