From 050aae0a2fe7477ba8181e9d8144fe51f1b0b3c4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 12 Jun 2007 22:07:51 +0000 Subject: Reuse previously acquired lstat results. svn path=/main/trunk/; revision=6821 --- pym/portage/dbapi/vartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22