Don't show a line for the banner if it hasn't changed, for uniformity

with other diffs, as suggested by Fyodor.
This commit is contained in:
david 2011-03-05 07:54:54 +00:00
parent bd11ba78c3
commit a531183086

View file

@ -464,7 +464,7 @@ class ScanDiff(object):
if banner_a != banner_b:
print >> f, u"-%s" % banner_a
print >> f, u"+%s" % banner_b
else:
elif verbose:
print >> f, u" %s" % banner_a
print_script_result_diffs_text("Pre-scan script results",