aboutsummaryrefslogtreecommitdiff
path: root/doc/api/ruby/example_dep_tree.rb
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-13 18:02:44 +0100
commit68f2de2c2c795832607bfbe9249affd36faac431 (patch)
tree69be5cbe7045cca9ba271c732411f29fd750f8ce /doc/api/ruby/example_dep_tree.rb
parentef75cff538e62392f02391329bad533ce9adf662 (diff)
downloadpaludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.gz
paludis-68f2de2c2c795832607bfbe9249affd36faac431.tar.xz
Kill InstalledAction
Diffstat (limited to 'doc/api/ruby/example_dep_tree.rb')
-rw-r--r--doc/api/ruby/example_dep_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/ruby/example_dep_tree.rb b/doc/api/ruby/example_dep_tree.rb
index db8c298d7..53d3a4817 100644
--- a/doc/api/ruby/example_dep_tree.rb
+++ b/doc/api/ruby/example_dep_tree.rb
@@ -116,7 +116,7 @@ env = EnvironmentFactory.instance.create(ExampleCommandLine.instance.environment
# Fetch package IDs for all installed packages.
ids = env[Selection::AllVersionsSorted.new(
- Generator::All.new | Filter::SupportsAction.new(InstalledAction))]
+ Generator::All.new | Filter::InstalledAtRoot.new("/"))]
# Our results table, mapping the ID to { :has_dep => ?, :has_ext => ? }
results = { }