git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c24240b
)
autobuild: only add autobuild.log if it exists
author
Andrew Tridgell
<tridge@samba.org>
Wed, 6 Oct 2010 09:15:48 +0000
(20:15 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 6 Oct 2010 11:13:05 +0000
(11:13 +0000)
this makes running autobuild on other than sn-devel easier
script/autobuild.py
patch
|
blob
|
history
diff --git
a/script/autobuild.py
b/script/autobuild.py
index b639c601ed3650cb54810072a67a5182c9705aac..fe0c1e2b3aada0b95db3a44e25f839338eb7145c 100755
(executable)
--- a/
script/autobuild.py
+++ b/
script/autobuild.py
@@
-215,7
+215,8
@@
class buildlist(object):
for b in self.tlist:
tar.add(b.stdout_path, arcname="%s.stdout" % b.tag)
tar.add(b.stderr_path, arcname="%s.stderr" % b.tag)
- tar.add("autobuild.log")
+ if os.path.exists("autobuild.log"):
+ tar.add("autobuild.log")
tar.close()
def remove_logs(self):