aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-27 17:44:53 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-27 17:44:53 +0200
commite7658fdbf8ca6c17bd250abe08bf86a63011067f (patch)
tree18b4b74d431c9507a2f75e744b18c4c51580c3f6 /src/tinderbox
parentFix issue with chdir in emerge_main() (diff)
downloadcollagen-e7658fdbf8ca6c17bd250abe08bf86a63011067f.tar.gz
collagen-e7658fdbf8ca6c17bd250abe08bf86a63011067f.tar.bz2
collagen-e7658fdbf8ca6c17bd250abe08bf86a63011067f.zip
Add log when dep fails
fixes bug #19
Diffstat (limited to 'src/tinderbox')
-rw-r--r--src/tinderbox/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index b37f1f5..79e9712 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -205,6 +205,8 @@ class Tinderbox(object):
if dep_failed:
log.error("Unable to emerge package %s with deps %s" % (pkg, group))
# TODO unmerge succeeded deps
+ self._add_attachment(package, "/var/log/emerge.log")
+ package.depends = [x[1] for x in group]
continue
settings.setcpv(pkg, mydb=portdb)