summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
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)