diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-12-09 23:15:06 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-12-09 23:15:06 +0000 |
commit | b8b0ba383d6392b3c0830ce22b2211c2eb3bca64 (patch) | |
tree | a7daa150a039b3965f303a8fdeb8b398d3facbc1 /fsset.py | |
parent | 67f97fa2c7d3dfb6d934de6fe6f008b3df6963bb (diff) | |
download | anaconda-b8b0ba383d6392b3c0830ce22b2211c2eb3bca64.tar.gz anaconda-b8b0ba383d6392b3c0830ce22b2211c2eb3bca64.tar.xz anaconda-b8b0ba383d6392b3c0830ce22b2211c2eb3bca64.zip |
2004-12-09 Jeremy Katz <katzj@redhat.com>
* fsset.py (getDevFD): Better error handling if we can't create
the device (#142273)
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2323,8 +2323,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 |