summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-12-09 23:12:14 +0000
committerJeremy Katz <katzj@redhat.com>2004-12-09 23:12:14 +0000
commitd10b063fb8a0a14fa09554f07acd044beaffbb3d (patch)
tree9bef14c13f948599a71c9a960c8d66d56ebb9948
parent6cc4e80eac32829ffc6a169cb02a0301e821b5db (diff)
downloadanaconda-d10b063fb8a0a14fa09554f07acd044beaffbb3d.tar.gz
anaconda-d10b063fb8a0a14fa09554f07acd044beaffbb3d.tar.xz
anaconda-d10b063fb8a0a14fa09554f07acd044beaffbb3d.zip
2004-12-09 Jeremy Katz <katzj@redhat.com>
* fsset.py (getDevFD): Better error handling if we can't create the device (#142273)
-rw-r--r--ChangeLog5
-rw-r--r--fsset.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b96df02ec..c0ec5d190 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-09 Jeremy Katz <katzj@redhat.com>
+
+ * fsset.py (getDevFD): Better error handling if we can't create
+ the device (#142273)
+
2004-12-08 Jeremy Katz <katzj@redhat.com>
* anaconda.spec: Bump version.
diff --git a/fsset.py b/fsset.py
index 6b19b281f..092c09175 100644
--- a/fsset.py
+++ b/fsset.py
@@ -2313,8 +2313,8 @@ def getDevFD(device):
fd = os.open(device, os.O_RDONLY)
except:
file = '/tmp/' + device
- isys.makeDevInode(device, file)
try:
+ isys.makeDevInode(device, file)
fd = os.open(file, os.O_RDONLY)
except:
return -1