diff options
author | Bill Nottingham <notting@redhat.com> | 2001-06-27 05:31:26 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-06-27 05:31:26 +0000 |
commit | c160284ab50cd4e4311e8a8396f8c086f6022603 (patch) | |
tree | 903560f26411a50398e5e1182551cd90f2ac96cd | |
parent | d7c5ea0c065ac6cfa377c4b9dfe37dffc664ccaf (diff) | |
download | anaconda-c160284ab50cd4e4311e8a8396f8c086f6022603.tar.gz anaconda-c160284ab50cd4e4311e8a8396f8c086f6022603.tar.xz anaconda-c160284ab50cd4e4311e8a8396f8c086f6022603.zip |
import isys; also, put screen.supsend/resume around just the exec
-rw-r--r-- | textw/fdisk_text.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/textw/fdisk_text.py b/textw/fdisk_text.py index 7ac172675..14c1ece72 100644 --- a/textw/fdisk_text.py +++ b/textw/fdisk_text.py @@ -15,6 +15,7 @@ # import os +import isys import iutil from snack import * from translate import _, cat, N_ @@ -40,7 +41,6 @@ class fdiskPartitionWindow: TEXT_BACK_BUTTON ], width = 50, help = "fdisk") if button != "done" and button != TEXT_BACK_CHECK: - screen.suspend() device = choices[choice] if os.access("/sbin/fdisk", os.X_OK): @@ -53,16 +53,16 @@ class fdiskPartitionWindow: except: pass + screen.suspend() iutil.execWithRedirect (path, [ path, "/tmp/" + device ], ignoreTermSigs = 1) + screen.resume() try: os.remove('/tmp/' + device) except: pass - screen.resume() - partrequests.setFromDisk(diskset) if button == TEXT_BACK_CHECK: |