projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cdad53
)
Remove unnecessary redundant dict lookup at the beginning of catpkgsplit().
author
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Sep 2009 07:39:51 +0000
(07:39 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Sep 2009 07:39:51 +0000
(07:39 -0000)
Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=14186
pym/portage/versions.py
patch
|
blob
|
history
diff --git
a/pym/portage/versions.py
b/pym/portage/versions.py
index 82cf998dc1432ce84a0f269173b16a5a9acd62c3..8a3fe0d073734137cd30b5dd7d7a2f13e222d4de 100644
(file)
--- a/
pym/portage/versions.py
+++ b/
pym/portage/versions.py
@@
-268,8
+268,6
@@
def catpkgsplit(mydata,silent=1):
"""
try:
- if not catcache[mydata]:
- return None
return catcache[mydata]
except KeyError:
pass