From: Paul Varner Date: Fri, 15 Jul 2011 19:59:23 +0000 (-0500) Subject: Do not index ChangeLog entries with an invalid CPV. (Bug 375293) X-Git-Tag: gentoolkit-0.3.0.5~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0382df255affced93b59322611a58bf98aec6c64;p=gentoolkit.git Do not index ChangeLog entries with an invalid CPV. (Bug 375293) --- diff --git a/pym/gentoolkit/helpers.py b/pym/gentoolkit/helpers.py index 225a198..a0b29ab 100644 --- a/pym/gentoolkit/helpers.py +++ b/pym/gentoolkit/helpers.py @@ -175,7 +175,7 @@ class ChangeLog(object): if not pkg_name.strip(): continue try: - entry_ver = CPV(pkg_name) + entry_ver = CPV(pkg_name, validate=True) except errors.GentoolkitInvalidCPV: if self.invalid_entry_is_fatal: raise ValueError(entry_ver)