diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-26 22:18:57 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-26 22:18:57 +0000 |
commit | b67106b924ea060ba3eaa446ec4d3156c7fb27c3 (patch) | |
tree | d6d3f1365bab66ed8845eacdf389f788c79df161 /pym/portage | |
parent | 43332e8a3754ed685bc84d7fd98c5ef0947eae3b (diff) | |
download | portage-b67106b924ea060ba3eaa446ec4d3156c7fb27c3.tar.gz portage-b67106b924ea060ba3eaa446ec4d3156c7fb27c3.tar.bz2 portage-b67106b924ea060ba3eaa446ec4d3156c7fb27c3.zip |
Short circuit the loop as soon as missing hashes are detected.
svn path=/main/trunk/; revision=7042
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 36953e687..cbe55475c 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2978,6 +2978,7 @@ def digestgen(myarchives, mysettings, overwrite=1, manifestonly=0, myportdb=None continue if required_hash_types.difference(myhashes): missing_hashes.add(myfile) + continue if myhashes["size"] == 0: missing_hashes.add(myfile) if missing_hashes: |