Author: gilbert-guest Date: 2010-03-19 22:47:04 +0000 (Fri, 19 Mar 2010) New Revision: 14303 Modified: bin/tracker_service.py Log: use a consistent note for unclear remote status; show unclear issues when remote-only selected Modified: bin/tracker_service.py ==================================================================--- bin/tracker_service.py 2010-03-19 22:46:57 UTC (rev 14302) +++ bin/tracker_service.py 2010-03-19 22:47:04 UTC (rev 14303) @@ -49,7 +49,7 @@ elif self.params[''show_high_urgency''] and prop == ''show_high_urgency'': note = ''Restore lower than high urgencies'' elif self.params[''show_remote_only''] and prop == ''show_remote_only'': - note = ''Restore local and unset vulnerabilities'' + note = ''Restore local vulnerabilities'' else: note = ''Hide '' + desc l.append(TR(TD(A(url.updateParamsDict({prop : None}), note)))) @@ -74,7 +74,7 @@ def remoteFiltered(self, remote): """Returns True for only remote flaws if filtered.""" - return self.params[''show_remote_only''] and not remote + return self.params[''show_remote_only''] and not remote and not remote is None class BugFilterNoDSA(BugFilter): def __init__(self, params): @@ -583,7 +583,7 @@ pkg_name = "%s (%s)" % (pkg_name, archive) if remote is None: - remote = ''unset'' + remote = ''???'' elif remote: remote = ''yes'' else: @@ -639,7 +639,7 @@ pkg_name = "%s (%s)" % (pkg_name, archive) if remote is None: - remote = '''' + remote = ''???'' elif remote: remote = ''yes'' else: @@ -700,7 +700,7 @@ pkg_name = self.make_xref(url, pkg_name) if remote is None: - remote = '''' + remote = ''???'' elif remote: remote = ''yes'' else: @@ -784,7 +784,7 @@ pkg_name = self.make_source_package_ref(url, pkg_name) if remote is None: - remote = '''' + remote = ''???'' elif remote: remote = ''yes'' else: