From: Zac Medico Date: Tue, 12 Jun 2007 22:08:24 +0000 (-0000) Subject: Reuse previously acquired lstat results. (trunk r6821) X-Git-Tag: v2.1.3_rc1~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f83116431798f038f79ca52ed7379b18b98a6fb;p=portage.git Reuse previously acquired lstat results. (trunk r6821) svn path=/main/branches/2.1.2/; revision=6822 --- diff --git a/pym/portage.py b/pym/portage.py index 64867b926..cd1b40186 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7823,7 +7823,7 @@ class dblink: 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)