diff options
author | fuzzyray <fuzzyray@gentoo.org> | 2010-04-08 21:31:06 +0000 |
---|---|---|
committer | fuzzyray <fuzzyray@gentoo.org> | 2010-04-08 21:31:06 +0000 |
commit | 0b34deb93b646ef2141e8fb498452301c0e950d6 (patch) | |
tree | 02a3c676ef42595063d2256990872e75d3d5ed49 /setup.py | |
parent | Fix bad indentation (diff) | |
download | gentoolkit-0b34deb93b646ef2141e8fb498452301c0e950d6.tar.gz gentoolkit-0b34deb93b646ef2141e8fb498452301c0e950d6.tar.bz2 gentoolkit-0b34deb93b646ef2141e8fb498452301c0e950d6.zip |
Change AttributeError to ImportError when trying to import EPREFIX
svn path=/trunk/gentoolkit/; revision=770
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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='' |