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>
debian
Niels Thykier 10 years ago
parent 629a596f25
commit 9d5f47a9b7

@ -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:

Loading…
Cancel
Save