Python is kind of weird with arguments and strings... it doesn't bail
authorFabian Groffen <grobian@gentoo.org>
Thu, 26 Oct 2006 17:16:27 +0000 (17:16 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 26 Oct 2006 17:16:27 +0000 (17:16 -0000)
out, but doesn't concatenate either.

svn path=/main/branches/prefix/; revision=4829

pym/portage.py

index 605ff5d000dd3dabaf6f38cc313d8dd1848506d7..c745e7c23390499b19ca47a118b6640f3af5053e 100644 (file)
@@ -714,7 +714,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None):
                        # an older package installed ON TOP of a newer version will cause ldconfig
                        # to overwrite the symlinks we just made. -X means no links. After 'clean'
                        # we can safely create links.
-                       writemsg(">>> Regenerating %s/etc/ld.so.cache...\n" % target_root+portage_const.EPREFIX)
+                       writemsg(">>> Regenerating %s/etc/ld.so.cache...\n" % (target_root+portage_const.EPREFIX))
                        if makelinks:
                                commands.getstatusoutput("cd / ; "+portage_const.EPREFIX+"/sbin/ldconfig -r '%s'" % target_root)
                        else: