summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 2423497d9..536795ecc 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2700,7 +2700,7 @@ def doebuild(myebuild,mydo,myroot,mysettings,debug=0,listonly=0,fetchonly=0,clea
if not os.access(mysettings["PORT_LOGDIR"],os.F_OK):
try:
os.mkdir(mysettings["PORT_LOGDIR"])
- except OSError:
+ except OSError, e:
print "!!! Unable to create PORT_LOGDIR"
print "!!!",e
if os.access(mysettings["PORT_LOGDIR"]+"/",os.W_OK):