Verified Commit 6af848a3 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Update example to work with syncdbs

As syncdb's are not signed in Arch Linux providing SIG_DATABASE returns
no search results.

Fixes: FS#71146
parent 15726cbd
......@@ -63,7 +63,7 @@ A Handle object can also provide a sync database to you:
import pyalpm
from pyalpm import Handle
handle = Handle('.', '/var/lib/pacman/')
core = handle.register_syncdb("core", pyalpm.SIG_DATABASE)
core = handle.register_syncdb("core", pyalpm.SIG_DATABASE_OPTIONAL)
The parameters required in this case are a database name ("core") and a flag to
indicate the type of PGP level of verification that should be done on the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment