diff options
author | Matt Wilson <msw@redhat.com> | 2002-05-09 05:17:59 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-05-09 05:17:59 +0000 |
commit | 2a7ce144743aad7b488ecc27fa496541ccc91528 (patch) | |
tree | c0483eaa0f156e012e8c04731a3af944ddd9617f /packages.py | |
parent | e9d1b9c6b4f25d32b39dbdc5d607fafc6c6f7f3f (diff) | |
download | anaconda-2a7ce144743aad7b488ecc27fa496541ccc91528.tar.gz anaconda-2a7ce144743aad7b488ecc27fa496541ccc91528.tar.xz anaconda-2a7ce144743aad7b488ecc27fa496541ccc91528.zip |
duh. lets not blow away our fd before trying to close it
Diffstat (limited to 'packages.py')
-rw-r--r-- | packages.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages.py b/packages.py index 9511e0363..476dc84d8 100644 --- a/packages.py +++ b/packages.py @@ -256,8 +256,11 @@ class InstallCallback: if not hdr: raise SystemError except: + try: + os.close(self.rpmFD) + except: + pass self.rpmFD = -1 - os.close(self.rpmFD) raise SystemError except: self.messageWindow(_("Error"), |