aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-05 21:21:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-05 21:21:17 +0000
commit360080c80c74da04af2b6b12fd55d8c9d7aad2e7 (patch)
tree62a1c2fd03f008dd68213c2a945b1b40dccedbd2
parenta55ab032514ac3c8c8ed027475f89ef8a2f942fa (diff)
downloadpaludis-360080c80c74da04af2b6b12fd55d8c9d7aad2e7.tar.gz
paludis-360080c80c74da04af2b6b12fd55d8c9d7aad2e7.tar.xz
Fix output formatting
-rw-r--r--paludis/resolver/sanitised_dependencies.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index 46878d5..61864ec 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -82,7 +82,7 @@ namespace
{
MakeAnyOfStringVisitor v;
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(v));
- result.append(" " + stringify(*node.spec()) + " ( " + v.result + ")");
+ result.append(" " + stringify(*node.spec()) + " (" + v.result + " )");
}
}
@@ -90,14 +90,14 @@ namespace
{
MakeAnyOfStringVisitor v;
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(v));
- result.append(" || ( " + v.result + ")");
+ result.append(" || (" + v.result + " )");
}
void visit(const DependencySpecTree::NodeType<AllDepSpec>::Type & node)
{
MakeAnyOfStringVisitor v;
std::for_each(indirect_iterator(node.begin()), indirect_iterator(node.end()), accept_visitor(v));
- result.append(" ( " + v.result + ")");
+ result.append(" (" + v.result + " )");
}
};