From: Zac Medico Date: Tue, 27 May 2008 07:53:32 +0000 (-0000) Subject: Fix typo. X-Git-Tag: v2.2_pre8~89 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74ec625497140acaafe1e79f970effdc74b6c347;p=portage.git Fix typo. svn path=/main/trunk/; revision=10453 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index df3736302..0abbbb81d 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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.