On Fri, Mar 13, 2009 at 11:45:47AM +0100, Jan Blunck wrote:
I found out that the satsolver Python bindings return a bool object ("True") if solvable:mediadir is not existing in the solv file. This happens with the solv files generated from buildservice repositories like http://download.opensuse.org/repositories/home:/janblunck/openSUSE_Factory/.
Is solvable:mediadir a required field and therefore a bug in repo2solv?
No. You're not really supposed to access it, you should use solvable_get_location() to retrieve the location. (It's not available in the bindings, though. Too bad.) Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org