diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-03-19 23:53:27 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-03-19 23:53:27 +0000 |
commit | 0214a2a3d955fcd1fa7bbbb7ebd7532729c8a7bf (patch) | |
tree | 126165baef2cfabc85607b8414b7ee15e037f9be | |
parent | 4503667ebab0ed04dc3c96f2a66e7eb369dcfdc4 (diff) | |
download | anaconda-0214a2a3d955fcd1fa7bbbb7ebd7532729c8a7bf.tar.gz anaconda-0214a2a3d955fcd1fa7bbbb7ebd7532729c8a7bf.tar.xz anaconda-0214a2a3d955fcd1fa7bbbb7ebd7532729c8a7bf.zip |
more exception logging, set contexts on the actual directories that we're
recursing under
-rw-r--r-- | packages.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages.py b/packages.py index e4690c58f..033bbdf38 100644 --- a/packages.py +++ b/packages.py @@ -399,7 +399,11 @@ class InstallCallback: pass self.rpmFD = -1 raise FileCopyException - except: + except Exception, e: + log("exception was %s for %s-%s-%s" %(e, h['name'], + h['version'], + h['release'])) + self.method.unmountCD() self.messageWindow(_("Error"), _("The package %s-%s-%s cannot be opened. This is due " @@ -1270,7 +1274,7 @@ def setFileCons(instPath, partitions): continue dirfiles = os.listdir(instPath + dir) files.extend(map(addpath, dirfiles)) - + files.append(dir) # blah, to work in a chroot, we need to actually be inside so the # regexes will work |