gather: Fix bare except block
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
89fcb79aca
commit
4413b0df24
@ -860,7 +860,7 @@ class Gather(GatherBase):
|
||||
# Link downloaded package in (or link package from file repo)
|
||||
try:
|
||||
linker.hardlink(pkg.localPkg(), target)
|
||||
except:
|
||||
except Exception:
|
||||
self.logger.error("Unable to link %s from the yum cache." % pkg.name)
|
||||
raise
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user