From 6b1f29a69e2a101561781c6686d86bf680f81cc6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 3 Apr 2006 05:08:21 +0000 Subject: Fix a typo from r3058. svn path=/main/trunk/; revision=3063 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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") -- cgit v1.2.3-1-g7c22