From 0601f3c1ad6ec61d5d067dbbd9e9341587c08e8b Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Tue, 20 Sep 2005 22:05:36 +0000 Subject: [PATCH] syntax error (wth?), fixed it. svn path=/main/branches/2.0/; revision=2014 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index ef9e9b5c7..3cfd2bad0 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2874,7 +2874,7 @@ def movefile(src,dest,newmtime=None,sstat=None,mysettings=None): if didcopy: if stat.S_ISLNK(sstat[stat.ST_MODE]): lchown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID]) - else + else: os.chown(dest,sstat[stat.ST_UID],sstat[stat.ST_GID]) os.chmod(dest, stat.S_IMODE(sstat[stat.ST_MODE])) # Sticky is reset on chown os.unlink(src) -- 2.26.2