Mailinglist Archive: zypp-devel (102 mails)

< Previous Next >
Re: [zypp-devel] sat-solver and solvable:mediadir
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Fri, 27 Mar 2009 16:18:37 +0100
  • Message-id: <20090327151837.GC32162@xxxxxxxxxxxxx>
* Jan Blunck <jblunck@xxxxxxx> [Mar 13. 2009 12:10]:
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups