Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11680 - /trunk/sat-solver/bindings/pool.i
  • From: kkaempf@xxxxxxxxxxxxxxxx
  • Date: Thu, 13 Nov 2008 20:24:35 -0000
  • Message-id: <20081113202435.5EDE63A1A7@xxxxxxxxxxxxxxxx>
Author: kkaempf
Date: Thu Nov 13 21:24:35 2008
New Revision: 11680

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11680&view=rev
Log:
init whatprovides in providers()

Modified:
trunk/sat-solver/bindings/pool.i

Modified: trunk/sat-solver/bindings/pool.i
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/pool.i?rev=11680&r1=11679&r2=11680&view=diff
==============================================================================
--- trunk/sat-solver/bindings/pool.i (original)
+++ trunk/sat-solver/bindings/pool.i Thu Nov 13 21:24:35 2008
@@ -230,6 +230,11 @@
sub providers {
my ($self, $rel) = @_;
my @prov = ();
+
+ if ($self->unprepared()) {
+ $self->prepare();
+ }
+
my $count = $self->providers_count($rel);
for (my $i = 0; $i < $count; ++$i) {
my $solvable = $self->providers_get($rel, $i);

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages