提交 bca3e403 authored 作者: goodfeli's avatar goodfeli

Merge pull request #23 from nouiz/buildbot_send

Send the pylearn2 buildbot outputs.
...@@ -10,9 +10,11 @@ family=['theano-buildbot@googlegroups.com'] ...@@ -10,9 +10,11 @@ family=['theano-buildbot@googlegroups.com']
me='lisa@iro.umontreal.ca' me='lisa@iro.umontreal.ca'
#Those file contain the output of the do_nightly_build script. #Those file contain the output of the do_nightly_build script.
files=["/tmp/do_nightly_build_theano", "/tmp/do_nightly_build_pylearn", "/tmp/do_nightly_build_deeplearning"] files=["/tmp/do_nightly_build_theano", "/tmp/do_nightly_build_pylearn", "/tmp/do_nightly_build_deeplearning", "/tmp/do_nightly_build_pylearn2"]
msgs=['Theano buildbot', 'Pylearn buildbot', 'Deep Learning Tutorial buildbot', 'Pylearn2 buildbot']
print files print files
print msgs
print sys.argv print sys.argv
if len(sys.argv)==2: if len(sys.argv)==2:
files=[x+sys.argv[1] for x in files] files=[x+sys.argv[1] for x in files]
...@@ -112,6 +114,5 @@ def mysend(subject, file): ...@@ -112,6 +114,5 @@ def mysend(subject, file):
s.close() s.close()
print "Finished sending email for",subject print "Finished sending email for",subject
mysend('Theano buildbot',files[0]) for msg, file in zip(msgs, files):
mysend('Pylearn buildbot',files[1]) mysend(msg, file)
mysend('Deep Learning Tutorial buildbot',files[2])
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论