syntax error (wth?), fixed it.
authorBrian Harring <ferringb@gentoo.org>
Tue, 20 Sep 2005 22:05:36 +0000 (22:05 -0000)
committerBrian Harring <ferringb@gentoo.org>
Tue, 20 Sep 2005 22:05:36 +0000 (22:05 -0000)
svn path=/main/branches/2.0/; revision=2014

pym/portage.py

index ef9e9b5c7e89018fa3b4595f3b72b3bed882effa..3cfd2bad0953f586965031ce7539081e4c14243c 100644 (file)
@@ -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)