summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2005-12-22 06:56:49 +0000
committerBrian Harring <ferringb@gentoo.org>2005-12-22 06:56:49 +0000
commit57271bf98ed6d7c318a4e78924e9b4b654a566a4 (patch)
tree45cde17e3ff91663c45dc071f2e25933a4ffcc93
parentupdate date/version to stop people from pointless whining (diff)
downloadportage-multirepo-57271bf98ed6d7c318a4e78924e9b4b654a566a4.tar.gz
portage-multirepo-57271bf98ed6d7c318a4e78924e9b4b654a566a4.tar.bz2
portage-multirepo-57271bf98ed6d7c318a4e78924e9b4b654a566a4.zip
if you're going to print an exception, bind the exception when you catch it
svn path=/main/trunk/; revision=2437
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 2423497d..536795ec 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):