projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90b617a
)
if you're going to print an exception, bind the exception when you catch it
author
Brian Harring
<ferringb@gentoo.org>
Thu, 22 Dec 2005 06:56:49 +0000
(06:56 -0000)
committer
Brian Harring
<ferringb@gentoo.org>
Thu, 22 Dec 2005 06:56:49 +0000
(06:56 -0000)
svn path=/main/trunk/; revision=2437
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 2423497d9e3f129d06135b0779c109e205f105c7..536795ecc6dc0f17a66f71a92ce588a9fe1c3cde 100644
(file)
--- 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):