summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-03-14 17:07:52 +0000
committerAlec Warner <antarus@gentoo.org>2006-03-14 17:07:52 +0000
commit62a2c30638ce0d6049e94738c4e366701d96338d (patch)
treebf0e158589f85979f6d3eedc7461d29516e26ed8
parent5b9ab340782a0b35ae594e326cd786e6977ad354 (diff)
downloadportage-62a2c30638ce0d6049e94738c4e366701d96338d.tar.gz
portage-62a2c30638ce0d6049e94738c4e366701d96338d.tar.bz2
portage-62a2c30638ce0d6049e94738c4e366701d96338d.zip
Comma's are for pussies ( fixing regression from last reivision )
svn path=/main/trunk/; revision=2887
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 8ee425865..73c47a4f5 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -31,7 +31,7 @@ try:
from time import sleep
from random import shuffle
from cache.cache_errors import CacheError
-except ImportError e:
+except ImportError, e:
sys.stderr.write("\n\n")
sys.stderr.write("!!! Failed to complete python imports. There are internal modules for\n")
sys.stderr.write("!!! python and failure here indicates that you have a problem with python\n")
@@ -94,7 +94,7 @@ try:
# Need these functions directly in portage namespace to not break every external tool in existence
from portage_versions import ververify,vercmp,catsplit,catpkgsplit,pkgsplit,pkgcmp
-except ImportError e:
+except ImportError, e:
sys.stderr.write("\n\n")
sys.stderr.write("!!! Failed to complete portage imports. There are internal modules for\n")
sys.stderr.write("!!! portage and failure here indicates that you have a problem with your\n")