From: Brian Harring Date: Tue, 20 Sep 2005 22:05:36 +0000 (-0000) Subject: syntax error (wth?), fixed it. X-Git-Tag: v2.0.53_rc4_2111~65 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0601f3c1ad6ec61d5d067dbbd9e9341587c08e8b;p=portage.git syntax error (wth?), fixed it. svn path=/main/branches/2.0/; revision=2014 --- 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)