From a5311830865aa08f442029ff5b142e61f5bc1aed Mon Sep 17 00:00:00 2001 From: david Date: Sat, 5 Mar 2011 07:54:54 +0000 Subject: [PATCH] Don't show a line for the banner if it hasn't changed, for uniformity with other diffs, as suggested by Fyodor. --- ndiff/ndiff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndiff/ndiff b/ndiff/ndiff index 2e5137331..d36d3a79d 100755 --- a/ndiff/ndiff +++ b/ndiff/ndiff @@ -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",