summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-21 16:28:33 +0000
committerMatt Wilson <msw@redhat.com>2001-06-21 16:28:33 +0000
commit86e5b8e0d783732652c920e54b5f7bbb799d3ac3 (patch)
treebdcdfdd8209f1b152369ccea6515394aa644291c /fsset.py
parentfb4c89b665cf861de56b95fc09ae6fb0d556f44d (diff)
downloadanaconda-86e5b8e0d783732652c920e54b5f7bbb799d3ac3.tar.gz
anaconda-86e5b8e0d783732652c920e54b5f7bbb799d3ac3.tar.xz
anaconda-86e5b8e0d783732652c920e54b5f7bbb799d3ac3.zip
amazing the difference a tab can make.
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fsset.py b/fsset.py
index 3a30f8392..4a1851f4a 100644
--- a/fsset.py
+++ b/fsset.py
@@ -893,7 +893,7 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
fd = os.open(messageFile, os.O_RDWR | os.O_CREAT | os.O_APPEND)
p = os.pipe()
childpid = os.fork()
- if (not childpid):
+ if not childpid:
os.close(p[0])
os.dup2(p[1], 1)
os.dup2(fd, 2)
@@ -935,7 +935,7 @@ def ext2FormatFilesystem(argList, messageFile, windowCreator, mntpoint):
l = string.split(num, '/')
w and w.set((int(l[0]) * 100) / int(l[1]))
isys.sync()
- num = ''
+ num = ''
except OSError, args:
(num, str) = args
if (num != 4):