summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-03 05:08:21 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-03 05:08:21 +0000
commit6b1f29a69e2a101561781c6686d86bf680f81cc6 (patch)
tree8ae8e483b750df8375ffcf3513e22a36e41e14ce
parent4cea82a8e48d1cee3c6cf8a02b15ff6e9cec863d (diff)
downloadportage-6b1f29a69e2a101561781c6686d86bf680f81cc6.tar.gz
portage-6b1f29a69e2a101561781c6686d86bf680f81cc6.tar.bz2
portage-6b1f29a69e2a101561781c6686d86bf680f81cc6.zip
Fix a typo from r3058.
svn path=/main/trunk/; revision=3063
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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")