aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_graph_jobs.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-30 11:37:31 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-04 08:32:59 +0100
commit28626b8aa3b39d400f8f9eb3a0730ac101b2e53a (patch)
treec60cfb02dcee2efcf7045ccfd53316e5a8fe94a8 /src/clients/cave/cmd_graph_jobs.cc
parenta004eeed5dda3432dcb1a4c0a865ae24daae4fd3 (diff)
downloadpaludis-28626b8aa3b39d400f8f9eb3a0730ac101b2e53a.tar.gz
paludis-28626b8aa3b39d400f8f9eb3a0730ac101b2e53a.tar.xz
slot to requirements
Diffstat (limited to 'src/clients/cave/cmd_graph_jobs.cc')
-rw-r--r--src/clients/cave/cmd_graph_jobs.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/cmd_graph_jobs.cc b/src/clients/cave/cmd_graph_jobs.cc
index b573f2847..ff47d9905 100644
--- a/src/clients/cave/cmd_graph_jobs.cc
+++ b/src/clients/cave/cmd_graph_jobs.cc
@@ -96,8 +96,8 @@ namespace
else
{
std::string result(stringify(p.package_name_constraint()->name().package()));
- if (p.slot_requirement_ptr())
- result = result + stringify(*p.slot_requirement_ptr());
+ if (p.exact_slot_constraint())
+ result = result + ":" + stringify(p.exact_slot_constraint()->name());
if (p.in_repository_constraint())
result = result + "::" + stringify(p.in_repository_constraint()->name());
return result;