projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
934f78c
)
Add 'ValueError' exception.
author
lihongsx
<lihongx.sun@intel.com>
Thu, 28 Aug 2014 09:42:45 +0000
(17:42 +0800)
committer
admin
<yuhuan.yang@samsung.com>
Thu, 4 Feb 2016 10:27:44 +0000
(18:27 +0800)
Change-Id: I22021ebea6bd2db34150c15f588289c18929d63a
plugins/backend/yumpkgmgr.py
patch
|
blob
|
history
diff --git
a/plugins/backend/yumpkgmgr.py
b/plugins/backend/yumpkgmgr.py
index
1673639
..
8f3112d
100644
(file)
--- a/
plugins/backend/yumpkgmgr.py
+++ b/
plugins/backend/yumpkgmgr.py
@@
-468,7
+468,7
@@
class Yum(BackendPlugin, yum.YumBase):
}
try:
self.__pkgs_vcsinfo[lname] = hdr['VCS']
}
try:
self.__pkgs_vcsinfo[lname] = hdr['VCS']
- except KeyError:
+ except
ValueError,
KeyError:
self.__pkgs_vcsinfo[lname] = None
return self.__pkgs_vcsinfo
self.__pkgs_vcsinfo[lname] = None
return self.__pkgs_vcsinfo