summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-02-11 13:36:22 -0500
committerBill Nottingham <notting@redhat.com>2008-02-11 13:36:22 -0500
commitf2f75a9774560f58ab4553f93812e500276c9a7f (patch)
tree0553c04358d4a3896b39ec57fd955867dab01976 /rescue.py
parent4195005f05b87bbd75c6d9dc5ca034cceecaa4b7 (diff)
parent0020bc8dc4458fb6ff1a7d42ad5c3eb5c85306c8 (diff)
downloadanaconda-f2f75a9774560f58ab4553f93812e500276c9a7f.tar.gz
anaconda-f2f75a9774560f58ab4553f93812e500276c9a7f.tar.xz
anaconda-f2f75a9774560f58ab4553f93812e500276c9a7f.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/anaconda
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/rescue.py b/rescue.py
index 1f981ea9c..58a6d1753 100644
--- a/rescue.py
+++ b/rescue.py
@@ -23,7 +23,7 @@
import upgrade
from snack import *
from constants_text import *
-from text import WaitWindow, OkCancelWindow, ProgressWindow, stepToClasses
+from text import WaitWindow, OkCancelWindow, ProgressWindow, PassphraseEntryWindow, stepToClasses
from flags import flags
import sys
import os
@@ -78,6 +78,12 @@ class RescueInterface:
else:
return OkCancelWindow(self.screen, title, text)
+ def passphraseEntryWindow(self, device):
+ w = PassphraseEntryWindow(self.screen, device)
+ (passphrase, isglobal) = w.run()
+ w.pop()
+ return (passphrase, isglobal)
+
def __init__(self, screen):
self.screen = screen