aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-05 17:25:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-05 17:25:09 +0000
commitdfab16757f8695755e9a9a1be13303e6bf9ba94e (patch)
tree3279d6849b8c334f8cd7bafe8d15516e8831577f
parent2b96a745a187be5b30111ace489a78978f02c7a3 (diff)
downloadpaludis-dfab16757f8695755e9a9a1be13303e6bf9ba94e.tar.gz
paludis-dfab16757f8695755e9a9a1be13303e6bf9ba94e.tar.xz
Don't use the deprecated two arg query
-rw-r--r--doc/examples/pwp_basic_ruby_app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/pwp_basic_ruby_app.rb b/doc/examples/pwp_basic_ruby_app.rb
index 0e4dda2..13e1144 100644
--- a/doc/examples/pwp_basic_ruby_app.rb
+++ b/doc/examples/pwp_basic_ruby_app.rb
@@ -4,7 +4,7 @@
require 'Paludis'
packages = Paludis::DefaultEnvironment.instance.package_database.query(
- "app-editors/vim", Paludis::InstallState::InstalledOnly)
+ "app-editors/vim", Paludis::InstallState::InstalledOnly, Paludis::QueryOrder::OrderByVersion)
if packages.empty?
puts "Vim is not installed"