Adjust quote usage in collision-protect eerror
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 03:20:16 +0000 (03:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Oct 2007 03:20:16 +0000 (03:20 -0000)
output.

svn path=/main/trunk/; revision=8170

pym/portage/dbapi/vartree.py

index 3151f801bc72ea6d7dfb69e6408a0c323f48a264..466a06dccf33fb0e9baa27c0623ebbf841a4e4d0 100644 (file)
@@ -1751,7 +1751,7 @@ class dblink(object):
                def eerror(lines):
                        cmd = "source '%s/isolated-functions.sh' ; " % PORTAGE_BIN_PATH
                        for line in lines:
-                               cmd += "eerror \"%s\" ; " % line
+                               cmd += "eerror '%s' ; " % line
                        from portage import process
                        process.spawn(["bash", "-c", cmd],
                                env=self.settings.environ())
@@ -1766,7 +1766,7 @@ class dblink(object):
                                " in cases like this."
                        if self.settings.get("PORTAGE_QUIET") != "1":
                                msg += " You can use a command such as" + \
-                               " \\`portageq owners / <filename>\\` to identify the" + \
+                               " `portageq owners / <filename>` to identify the" + \
                                " installed package that owns a file. If portageq" + \
                                " reports that only one package owns a file then do NOT" + \
                                " file a bug report. A bug report is only useful if it" + \
@@ -1793,7 +1793,7 @@ class dblink(object):
                        msg.append("")
 
                        for f in collisions:
-                               msg.append("     '%s'" % \
+                               msg.append("\t%s" % \
                                        os.path.join(destroot, f.lstrip(os.path.sep)))
 
                        eerror(msg)