Fix typo.
authorZac Medico <zmedico@gentoo.org>
Tue, 27 May 2008 07:53:32 +0000 (07:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 27 May 2008 07:53:32 +0000 (07:53 -0000)
svn path=/main/trunk/; revision=10453

pym/portage/__init__.py

index df373630287f503de84a9e08ce25fd019ae9da90..0abbbb81dc2e90db532c236904800ab36b861b1b 100644 (file)
@@ -1674,7 +1674,7 @@ class config(object):
                for mypath, (gid, mode, modemask, preserve_perms) \
                        in dir_mode_map.iteritems():
                        mydir = os.path.join(self["ROOT"], mypath)
-                       if preserve_perms and os.path.isdir(mypath):
+                       if preserve_perms and os.path.isdir(mydir):
                                # Only adjust permissions on some directories if
                                # they don't exist yet. This gives freedom to the
                                # user to adjust permissions to suit their taste.