提交 f3f97d77 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #1739 from nouiz/buildbot

Small modif to allow the buildbot script to easily submit new results wi...
...@@ -23,7 +23,12 @@ msgs=['Theano buildbot', 'Pylearn buildbot', 'Deep Learning Tutorial buildbot', ...@@ -23,7 +23,12 @@ msgs=['Theano buildbot', 'Pylearn buildbot', 'Deep Learning Tutorial buildbot',
print 'files', files print 'files', files
print "msgs", msgs print "msgs", msgs
print "args", sys.argv print "args", sys.argv
if len(sys.argv)==2: if len(sys.argv) == 3:
#We send just a file with a message
files = [sys.argv[1]]
msgs = [sys.argv[2]]
elif len(sys.argv) == 2:
#This is a prefix where the output files are
files=[os.path.join(sys.argv[1], x) for x in files] files=[os.path.join(sys.argv[1], x) for x in files]
else: else:
files=[os.path.join('/tmp', x) for x in files] files=[os.path.join('/tmp', x) for x in files]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论