From: Alexander Bokovoy Date: Mon, 3 Sep 2018 10:20:31 +0000 (+0300) Subject: script/autobuild: Fix formatting in send_email X-Git-Tag: tdb-1.3.17~1777 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f022a0be81333fcaa7ac20147028eef73e2179e;p=thirdparty%2Fsamba.git script/autobuild: Fix formatting in send_email Commit cb40e2bbc8a34a1ec3584ab585c5bf44c037ef0e introduced a print statement with a broken formatting. Reported by pylint. Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- diff --git a/script/autobuild.py b/script/autobuild.py index d389838286b..02fff41204b 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -777,7 +777,7 @@ parser.add_option("", "--restrict-tests", help="run as make test with this TESTS def send_email(subject, text, log_tar): if options.email is None: do_print("not sending email because the recipient is not set") - do_print("the text content would have been:\n\nSubject: %s\n\nTs" % + do_print("the text content would have been:\n\nSubject: %s\n\n%s" % (subject, text)) return outer = MIMEMultipart()