diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-05 07:39:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-05 07:39:51 +0000 |
commit | 8f272835815d3ceee91fd1b6fefdc74b2d2d3d70 (patch) | |
tree | cd784ddb03f40290868ddf8f43796a5b5738af88 | |
parent | 7cdad53557e97b101213e93a3cf9b723edb0740d (diff) | |
download | portage-8f272835815d3ceee91fd1b6fefdc74b2d2d3d70.tar.gz portage-8f272835815d3ceee91fd1b6fefdc74b2d2d3d70.tar.bz2 portage-8f272835815d3ceee91fd1b6fefdc74b2d2d3d70.zip |
Remove unnecessary redundant dict lookup at the beginning of catpkgsplit().
Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=14186
-rw-r--r-- | pym/portage/versions.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pym/portage/versions.py b/pym/portage/versions.py index 82cf998dc..8a3fe0d07 100644 --- 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 |