diff options
| -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 |
