* Jan Blunck
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.
Can you please provide a .solv file showing this error ? sat-solver/bindings/testdata contain .solv files were 'dumpsolv' shows solvable:mediadir: (void) So the attribute is present but empty, denoting a boolean 'true'. Looks like a bug in generating the .solv file to me... Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org