From 57271bf98ed6d7c318a4e78924e9b4b654a566a4 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Thu, 22 Dec 2005 06:56:49 +0000 Subject: if you're going to print an exception, bind the exception when you catch it svn path=/main/trunk/; revision=2437 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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): -- cgit v1.2.3-1-g7c22