summaryrefslogtreecommitdiffstats
path: root/pym/portage_dep.py
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-12 04:07:38 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-12 04:07:38 +0000
commitd053f260bcd65a4a922b172c5c04ce26cae1df8d (patch)
treeb323da07a72afa37d45e11f2a05e73a5b994fef0 /pym/portage_dep.py
parent392dcf713d51bd9678c2e726d1b1ed58f9f1d583 (diff)
downloadportage-d053f260bcd65a4a922b172c5c04ce26cae1df8d.tar.gz
portage-d053f260bcd65a4a922b172c5c04ce26cae1df8d.tar.bz2
portage-d053f260bcd65a4a922b172c5c04ce26cae1df8d.zip
comment the excepts in a few places
svn path=/main/trunk/; revision=5584
Diffstat (limited to 'pym/portage_dep.py')
-rw-r--r--pym/portage_dep.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_dep.py b/pym/portage_dep.py
index 271c5ef04..cc662d5ca 100644
--- a/pym/portage_dep.py
+++ b/pym/portage_dep.py
@@ -618,7 +618,7 @@ def match_from_list(mydep, candidate_list):
for x in candidate_list:
try:
result = pkgcmp(pkgsplit(x), mysplit)
- except ValueError:
+ except ValueError: # pkgcmp may return ValueError during int() conversion
writemsg("\nInvalid package name: %s\n" % x, noiselevel=-1)
raise
if result is None: