Reuse previously acquired lstat results.
authorZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 22:07:51 +0000 (22:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 22:07:51 +0000 (22:07 -0000)
svn path=/main/trunk/; revision=6821

pym/portage/dbapi/vartree.py

index 078dff2864d9d3ca9756ae7436cb4865096f6ff8..855310608b885148a8cd0fa39337312849dbaa0f 100644 (file)
@@ -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)