Author: fw Date: 2005-10-20 09:32:16 +0000 (Thu, 20 Oct 2005) New Revision: 2495 Modified: bin/tracker_service.py Log: bin/tracker_service.py (TrackerService): Changes for the CVE transition. Modified: bin/tracker_service.py ==================================================================--- bin/tracker_service.py 2005-10-20 09:24:41 UTC (rev 2494) +++ bin/tracker_service.py 2005-10-20 09:32:16 UTC (rev 2495) @@ -136,7 +136,7 @@ (''data/releases'', ''Covered Debian releases and architectures (slow)''), self.make_search_button(url)), - P("""(You can enter CAN/CVE names, Debian bug numbers and package + P("""(You can enter CVE names, Debian bug numbers and package names in the search forms.)"""), H2("Data sources"), @@ -208,7 +208,7 @@ bug = bugs.BugFromDB(cursor, name) except ValueError: if redirect: - if name[0:4] in (''CAN-'', ''CVE-''): + if name[0:4] == ''CVE-'': return RedirectResult(self.url_cve(url, name), permanent=False) return self.page_not_found(url, name) @@ -222,7 +222,7 @@ yield B("Name"), bug.name source = bug.name.split(''-'')[0] - if source in (''CAN'', ''CVE''): + if source == ''CVE'': source_xref = compose(self.make_cve_ref(url, bug.name, ''CVE''), " (", self.make_nvd_ref(url, bug.name,