Gracefully handle the case only delta rpm is available
authorYi Yang <yi.y.yang@intel.com>
Thu, 21 Jul 2011 01:33:31 +0000 (09:33 +0800)
committerYi Yang <yi.y.yang@intel.com>
Thu, 21 Jul 2011 01:33:31 +0000 (09:33 +0800)
commitc5ec3e0448641bd477b7325299a65b4fcb62f6f9
tree7d72fe78e1bb5792638ccc271bf8ccb2ca1b8bb2
parentd9897853c4fd0ecd22078b83fca056ee14b37ae1
Gracefully handle the case only delta rpm is available

Note: yum doesn't support delta rpm, if only .drpm is available
in repo, mic2 will fail with an uncatched exception, this commit
will catch such exception and tell the user what happened, fix
bug #12993
mic/imgcreate/pkgmanagers/yumpkgmgr.py