script/autobuild: Fix formatting in send_email
authorAlexander Bokovoy <ab@samba.org>
Mon, 3 Sep 2018 10:20:31 +0000 (13:20 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:28 +0000 (06:37 +0200)
Commit cb40e2bbc8a34a1ec3584ab585c5bf44c037ef0e introduced a print
statement with a broken formatting. Reported by pylint.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/autobuild.py

index d389838286b9a75961343c5bdf3a1f9bcfcf650c..02fff41204b7a65ff2d04b21e98a4ace524be88d 100755 (executable)
@@ -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()