From 1e148cbf9e6ee8ba5f378984b3d491fe00b90532 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 31 Jul 2006 01:51:11 +0000 Subject: Catch ParseError from getconfig during env_update for bug #142157. svn path=/main/trunk/; revision=4050 --- pym/portage_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage_util.py') diff --git a/pym/portage_util.py b/pym/portage_util.py index 7a37d980d..bdd934ec3 100644 --- a/pym/portage_util.py +++ b/pym/portage_util.py @@ -279,7 +279,7 @@ def getconfig(mycfg,tolerant=0,allow_sourcing=False): except SystemExit, e: raise except Exception, e: - raise e.__class__, str(e)+" in "+mycfg + raise portage_exception.ParseError(str(e)+" in "+mycfg) return mykeys #cache expansions of constant strings -- cgit v1.2.3-1-g7c22