From: Zac Medico Date: Tue, 12 Jun 2007 22:07:51 +0000 (-0000) Subject: Reuse previously acquired lstat results. X-Git-Tag: v2.2_pre1~1252 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=050aae0a2fe7477ba8181e9d8144fe51f1b0b3c4;p=portage.git Reuse previously acquired lstat results. svn path=/main/trunk/; revision=6821 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 078dff286..855310608 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1896,7 +1896,7 @@ class dblink(object): if bsd_chflags: # Save then clear flags on dest. - dflags = os.lstat(mydest).st_flags + dflags = mydstat.st_flags if dflags != 0: bsd_chflags.lchflags(mydest, 0)