aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-09 19:15:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-01-09 19:15:12 +0000
commit335d1ef199ef041ece93401ac709a6bf215a981b (patch)
tree20bf338d6f52b4b4d8a5999e3856cb3c5b0d794d /python
parent3c502ca3ff22aea056348040fe8fd47e94baf346 (diff)
downloadpaludis-335d1ef199ef041ece93401ac709a6bf215a981b.tar.gz
paludis-335d1ef199ef041ece93401ac709a6bf215a981b.tar.xz
Crude phases support.
Fixes: ticket:412
Diffstat (limited to 'python')
-rw-r--r--python/action.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/action.cc b/python/action.cc
index 8bbb35583..cd5805d2c 100644
--- a/python/action.cc
+++ b/python/action.cc
@@ -54,12 +54,18 @@ namespace
{
}
+ WantPhase want_all_phases(const std::string &)
+ {
+ return wp_yes;
+ }
+
InstallActionOptions * make_install_action_options(
const std::tr1::shared_ptr<paludis::Repository> & r)
{
return new InstallActionOptions(make_named_values<InstallActionOptions>(
value_for<n::destination>(r),
- value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect)
+ value_for<n::used_this_for_config_protect>(&dummy_used_this_for_config_protect),
+ value_for<n::want_phase>(&want_all_phases)
));
}