diff options
author | Alexander Bokovoy <ab@samba.org> | 2018-09-03 13:20:31 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-05 06:37:28 +0200 |
commit | 8f022a0be81333fcaa7ac20147028eef73e2179e (patch) | |
tree | 28e62a2ac0905869edc885325a5cf5e806670ccd | |
parent | 67ed1ea6c468ce537e61183771dbc76241acfe67 (diff) | |
download | samba-8f022a0be81333fcaa7ac20147028eef73e2179e.tar.gz |
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 <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | script/autobuild.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |