diff options
author | David Lehman <dlehman@redhat.com> | 2009-11-25 16:46:10 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-11-30 12:53:23 -0600 |
commit | 0b40e04f8014f695cf4727b9276fe18fee44f05b (patch) | |
tree | bf58944f9c39ded8c75b1229b2bafb9722527391 /storage/formats/fs.py | |
parent | 3b223fba9fe7f2d515113f85688752e93839fb05 (diff) | |
download | anaconda-0b40e04f8014f695cf4727b9276fe18fee44f05b.tar.gz anaconda-0b40e04f8014f695cf4727b9276fe18fee44f05b.tar.xz anaconda-0b40e04f8014f695cf4727b9276fe18fee44f05b.zip |
Display progress or wait window when formatting devices.
If we are using an external utility to create the format we can use
iutil.execWithPulseProgress. For formats we create using a python
module we can only put up a waitWindow.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r-- | storage/formats/fs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index 63a116b74..7778ba501 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -327,8 +327,8 @@ class FS(DeviceFormat): w = None if intf: w = intf.progressWindow(_("Formatting"), - _("Creating filesystem on %s") - % (self.device,), + _("Creating %s filesystem on %s") + % (self.type, self.device), 100, pulse = True) try: |