projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31fdcf
)
Make the error more precise
author
Huanhuan Li
<huanhuanx.li@intel.com>
Wed, 21 May 2014 02:43:18 +0000
(10:43 +0800)
committer
admin
<yuhuan.yang@samsung.com>
Thu, 4 Feb 2016 10:12:29 +0000
(18:12 +0800)
Change-Id: I11879de8063534eb5a59b80edbfcd9a73aefdc5d
plugins/backend/zypppkgmgr.py
patch
|
blob
|
history
diff --git
a/plugins/backend/zypppkgmgr.py
b/plugins/backend/zypppkgmgr.py
index
e0b0a1b
..
74d364e
100644
(file)
--- a/
plugins/backend/zypppkgmgr.py
+++ b/
plugins/backend/zypppkgmgr.py
@@
-567,9
+567,11
@@
class Zypp(BackendPlugin):
if download_count > 0:
msger.info("Downloading packages ...")
self.downloadPkgs(dlpkgs, download_count)
+ except CreateError, e:
+ raise CreateError("Package download failed: %s" %(e,))
+ try:
self.installPkgs(dlpkgs)
-
except (RepoError, RpmError):
raise
except Exception, e: