On Fri, Mar 13, Michael Schroeder wrote:
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.
Still this needs to be fixed in the bindings than. Getting the value of an existing attribute should return None (in the Python case) when the attibutes value is void.
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.)
From looking at solvable_get_location() I see that this is basically what I do now as a workaround.
Thanks, Jan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org