Reuse previously acquired lstat results. (trunk r6821)
authorZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 22:08:24 +0000 (22:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 12 Jun 2007 22:08:24 +0000 (22:08 -0000)
svn path=/main/branches/2.1.2/; revision=6822

pym/portage.py

index 64867b9269eef90a8115d6da2966871dd9af8ad4..cd1b401860d70dcac44fec5c2feeb8b76a99323b 100644 (file)
@@ -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)