diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 05:45:21 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-09 05:45:21 +0000 |
commit | 84c338d8be41f0a2c3e3c488901ad5b32af6b518 (patch) | |
tree | b15ca80166bf83ae149e9f39f26023238367fd5c /scripts | |
parent | f4bb13bb96a3239c3b89a7936434e545c4f2d3d5 (diff) |
try to output the rsync log to the email report
svn path=/trunk/; revision=15555
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/load_every_help.py | 7 |
1 files changed, 7 insertions, 0 deletions
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 = [] |