Mailinglist Archive: zypp-commit (266 mails)

< Previous Next >
[zypp-commit] r11785 - /trunk/sat-solver/bindings/solvable.i
  • From: mlschroe@xxxxxxxxxxxxxxxx
  • Date: Mon, 24 Nov 2008 13:17:01 -0000
  • Message-id: <20081124131701.DA34BFB80A@xxxxxxxxxxxxxxxx>
Author: mlschroe
Date: Mon Nov 24 14:17:01 2008
New Revision: 11785

URL: http://svn.opensuse.org/viewcvs/zypp?rev=11785&view=rev
Log:
- delete some SEARCH_NO_STORAGE_SOLVABLE that made no sense

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

Modified: trunk/sat-solver/bindings/solvable.i
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/solvable.i?rev=11785&r1=11784&r2=11785&view=diff
==============================================================================
--- trunk/sat-solver/bindings/solvable.i (original)
+++ trunk/sat-solver/bindings/solvable.i Mon Nov 24 14:17:01 2008
@@ -205,7 +205,7 @@

Solvable *s = xsolvable_solvable($self);
Dataiterator di;
- dataiterator_init(&di, s->repo->pool, s->repo, $self->id, key, 0,
SEARCH_NO_STORAGE_SOLVABLE);
+ dataiterator_init(&di, s->repo->pool, s->repo, $self->id, key, 0, 0);
if (dataiterator_step(&di))
{
result = dataiterator_value( &di );
@@ -241,7 +241,7 @@
{
Solvable *s = xsolvable_solvable($self);
Dataiterator di;
- dataiterator_init(&di, s->repo->pool, s->repo, $self->id,
str2id(pool,name,0), 0, SEARCH_NO_STORAGE_SOLVABLE);
+ dataiterator_init(&di, s->repo->pool, s->repo, $self->id,
str2id(pool,name,0), 0, 0);
VALUE value;
while (dataiterator_step(&di))
{
@@ -257,7 +257,7 @@
while d.step():
yield d.value()
def attr_values(self,name):
- d =
Dataiterator(self.repo().pool(),self.repo(),None,SEARCH_NO_STORAGE_SOLVABLE,self,name)
+ d = Dataiterator(self.repo().pool(),self.repo(),None,0,self,name)
while d.step():
yield d.value()
%}
@@ -266,7 +266,7 @@
%perlcode %{
sub attr_values {
my ($self, $name) = @_;
- my @values = ();
+ my @values;

my $di = new
satsolver::Dataiterator($self->repo()->pool(),$self->repo(),undef,0,$self,$name);
while ($di->step() != 0) {
@@ -316,7 +316,7 @@
if (key != ID_NULL) {
Solvable *s = xsolvable_solvable($self);
Dataiterator di;
- dataiterator_init(&di, s->repo->pool, s->repo, $self->id, key, 0,
SEARCH_NO_STORAGE_SOLVABLE);
+ dataiterator_init(&di, s->repo->pool, s->repo, $self->id, key, 0, 0);
if (dataiterator_step(&di))
result = Swig_True;
}

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

< Previous Next >
This Thread
  • No further messages