From 84c338d8be41f0a2c3e3c488901ad5b32af6b518 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 9 Oct 2011 05:45:21 +0000 Subject: try to output the rsync log to the email report svn path=/trunk/; revision=15555 --- scripts/load_every_help.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/load_every_help.py b/scripts/load_every_help.py index 2512990a..b4857ecd 100755 --- a/scripts/load_every_help.py +++ b/scripts/load_every_help.py @@ -215,6 +215,13 @@ try: except: mailoutput.append('rsync upload of the log failed!\n') +# try to output the rsync log +try: + mailoutput.append(''.join(p.stdout.readlines())) +except: + pass + + mailoutput.append('______________________________________________________________________\n\n') server = smtplib.SMTP('in1.smtp.messagingengine.com') logoutput = [] -- cgit v1.2.1