britney: Ignore "remark" hints as they are not meant for us

The "remark" hint is only intended for showing up in the output of "d"
(or via hint grep).  It has no effect on Britney's behaviour.

Admittedly, the original code would have ignored it as well.  But this
change makes it explicit and not simply a "ignored due to insufficient
permissions".

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2014-11-23 19:19:33 +01:00
parent 1725f63f26
commit b2cef666f4

View File

@ -853,6 +853,11 @@ class Britney(object):
l = line.split()
if l[0] == 'finished':
break
if l[0] == 'remark':
# Ignore "no-op" hint, which sole purpose is to be
# found by hint grep (and show up in "d"'s
# output).
continue
elif l[0] not in self.HINTS[who]:
continue
elif len(l) == 1: