fixed the '/' stray char output
authorBrian Harring <ferringb@gentoo.org>
Sun, 8 Jan 2006 18:46:01 +0000 (18:46 -0000)
committerBrian Harring <ferringb@gentoo.org>
Sun, 8 Jan 2006 18:46:01 +0000 (18:46 -0000)
svn path=/main/trunk/; revision=2551

pym/portage.py

index 06338665cc23c835ddce16379a84fc5ed23449a5..692d52c33c4c56216f960678cb29ba7d950ede31 100644 (file)
@@ -6253,7 +6253,7 @@ class dblink:
 
                                        if stat.S_ISLNK(mydmode) or stat.S_ISDIR(mydmode):
                                                # a symlink to an existing directory will work for us; keep it:
-                                               writemsg_stdout("--- %s\n" % mydest+"/")
+                                               writemsg_stdout("--- %s/\n" % mydest)
                                                if bsd_chflags:
                                                        bsd_chflags.lchflags(mydest, dflags)
                                        else:
@@ -6271,7 +6271,7 @@ class dblink:
                                                        bsd_chflags.lchflags(mydest, dflags)
                                                os.chmod(mydest,mystat[0])
                                                os.chown(mydest,mystat[4],mystat[5])
-                                               writemsg_stdout(">>> %s\n" % mydest+"/")
+                                               writemsg_stdout(">>> %s/\n" % mydest)
                                else:
                                        #destination doesn't exist
                                        if selinux_enabled:
@@ -6283,7 +6283,7 @@ class dblink:
                                        if bsd_chflags:
                                                bsd_chflags.lchflags(mydest, bsd_chflags.lgetflags(mysrc))
                                        os.chown(mydest,mystat[4],mystat[5])
-                                       writemsg_stdout(">>> %s\n" % mydest+"/")
+                                       writemsg_stdout(">>> %s/\n" % mydest)
                                outfile.write("dir "+myrealdest+"\n")
                                # recurse and merge this directory
                                if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):