From: Joerg Jaspert Date: Sun, 30 Dec 2007 21:19:51 +0000 (+0100) Subject: Use print_escaped_text, not print_formatted_text. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c337038500529029bd0769dc2014eeb767ad586;p=dak Use print_escaped_text, not print_formatted_text. --- diff --git a/ChangeLog b/ChangeLog index 745a8bd4..398a6768 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,7 @@ easily know if we want html or not and just DTRT (do_lintian): new function (check_deb): use it + (output_deb_info): Use print_escaped_text, not print_formatted_text. Also add a variable to see if we want html output. Default is disabled, show_new enables it for its use. diff --git a/dak/examine_package.py b/dak/examine_package.py index 31c417ba..530d0bc1 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -333,7 +333,7 @@ def output_deb_info(filename): else: output += escape_if_needed(control.Find(key)) to_print += output + '\n' - print_formatted_text(to_print) + print_escaped_text(to_print) def do_command (command, filename): o = os.popen("%s %s" % (command, filename))