From: Brian Harring Date: Sun, 8 Jan 2006 18:46:01 +0000 (-0000) Subject: fixed the '/' stray char output X-Git-Tag: v2.1_pre4~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f5d58c3cc173752bdfbe9e82442fe71f390135b;p=portage.git fixed the '/' stray char output svn path=/main/trunk/; revision=2551 --- diff --git a/pym/portage.py b/pym/portage.py index 06338665c..692d52c33 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -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):