aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-23 13:59:18 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-23 13:59:18 +0200
commit6e93b711cea79133b9bfb604b587e246199511d7 (patch)
tree2f6bfe156ce5829d90c641cb120c4d97cc935956 /src
parentSkip unmerging packages from system set (diff)
downloadcollagen-6e93b711cea79133b9bfb604b587e246199511d7.tar.gz
collagen-6e93b711cea79133b9bfb604b587e246199511d7.tar.bz2
collagen-6e93b711cea79133b9bfb604b587e246199511d7.zip
Fix small bug in exception handling
Diffstat (limited to 'src')
-rw-r--r--src/tinderbox/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index c487f5d..766e766 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -167,7 +167,7 @@ class Tinderbox(object):
sys.exit(1)
ret = os.waitpid(dep_emergepid, 0)
if 0 != ret[1]:
- raise Exception("emerge_main() failed with error code %d" % ret)
+ raise Exception("emerge_main() failed with error code %d" % ret[1])
except Exception, e:
log.error(format_exc())
log.error("Unable to merge dependency %s for package %s" % (dep, pkg))