spelling fixed

This commit is contained in:
lars 2007-01-08 05:01:29 +00:00
parent 9ce310035a
commit b4f6312fb2

View file

@ -626,7 +626,7 @@ class CryptoBoxContainer:
self.cbox.prefs["Programs"]["mkfs"],
"-t", fs_type, self.device])
loc_data.proc.wait()
## for to allow error detection
## wait to allow error detection
if loc_data.proc.returncode == 0:
time.sleep(5)
## skip cleanup stuff (as common for sys.exit)
@ -643,7 +643,7 @@ class CryptoBoxContainer:
time.sleep(3)
## if the thread exited very fast, then it failed
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"):