Comment 5 for bug 787500

Revision history for this message
Colin Watson (cjwatson) wrote :

With this patch, in a python session:

>>> import apt_pkg
>>> apt_pkg.init_config()
>>> apt_pkg.config.set("APT::Architecture", "i386")
>>> apt_pkg.init_system()
>>> apt_pkg.parse_src_depends("hal [!linux-any]")
[]

Of course, apt's general behaviour would need to be regression-tested.