Comma's are for pussies ( fixing regression from last reivision )
authorAlec Warner <antarus@gentoo.org>
Tue, 14 Mar 2006 17:07:52 +0000 (17:07 -0000)
committerAlec Warner <antarus@gentoo.org>
Tue, 14 Mar 2006 17:07:52 +0000 (17:07 -0000)
svn path=/main/trunk/; revision=2887

pym/portage.py

index 8ee4258659a83a8012eb4a7ccfcff824dc432f97..73c47a4f5e7e72ad8c8a30a7567a89ca1bb50af8 100644 (file)
@@ -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")