From: Zac Medico Date: Mon, 3 Apr 2006 05:08:21 +0000 (-0000) Subject: Fix a typo from r3058. X-Git-Tag: v2.1_pre8~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b1f29a69e2a101561781c6686d86bf680f81cc6;p=portage.git Fix a typo from r3058. svn path=/main/trunk/; revision=3063 --- diff --git a/pym/portage.py b/pym/portage.py index 49e45350f..46944a943 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1877,7 +1877,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", raise portage_exception.OperationNotPermitted( "Failed to apply recursive permissions for the portage group.") except portage_exception.PortageException, e: - if not os.path.dir(mysettings["DISTDIR"]): + if not os.path.isdir(mysettings["DISTDIR"]): writemsg("!!! %s\n" % str(e)) writemsg("!!! Directory Not Found: DISTDIR='%s'\n" % mysettings["DISTDIR"]) writemsg("!!! Fetching will fail!\n")