aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-21 18:54:19 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-21 18:54:19 +0000
commited450da1ecfd089a3673c3c2aaacdbec0c211988 (patch)
treec79b9e76a73bf4c3a70cf557726c345f59a80cdc
parentee80215ef9b990fec2d92ba3b7b7e663c4e1d619 (diff)
downloadpaludis-ed450da1ecfd089a3673c3c2aaacdbec0c211988.tar.gz
paludis-ed450da1ecfd089a3673c3c2aaacdbec0c211988.tar.xz
Fix Python hook example.
-rw-r--r--doc/configuration/hooks.html.part2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/configuration/hooks.html.part b/doc/configuration/hooks.html.part
index 704e940..cbf129f 100644
--- a/doc/configuration/hooks.html.part
+++ b/doc/configuration/hooks.html.part
@@ -385,7 +385,7 @@ def hook_run_install_all_post(env, hook_env):
print "* Checking for monkeys..."
- if list(env.package_database().query(Query.Package("nice/monkey"))):
+ if list(env.package_database.query(Query.Package("nice/monkey"), QueryOrder.WHATEVER)):
print "Found a monkey!"
else:
print "No monkeys found"