From 0b34deb93b646ef2141e8fb498452301c0e950d6 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Thu, 8 Apr 2010 21:31:06 +0000 Subject: [PATCH] Change AttributeError to ImportError when trying to import EPREFIX svn path=/trunk/gentoolkit/; revision=770 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ce4d959..b0186ef 100755 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ cwd = os.getcwd() # Load EPREFIX from Portage, fall back to the empty string if it fails try: from portage.const import EPREFIX -except AttributeError: +except ImportError: EPREFIX='' -- 2.26.2