summaryrefslogtreecommitdiffstats
path: root/pym/portage_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage_util.py')
-rw-r--r--pym/portage_util.py2
1 files changed, 1 insertions, 1 deletions
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