Author: kkaempf Date: Mon Oct 20 15:31:03 2008 New Revision: 11409 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11409&view=rev Log: fix Dataiterator_init call 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?re... ============================================================================== --- trunk/sat-solver/bindings/solvable.i (original) +++ trunk/sat-solver/bindings/solvable.i Mon Oct 20 15:31:03 2008 @@ -215,7 +215,7 @@ #if defined(SWIGPYTHON) %pythoncode %{ def attrs(self): - d = Dataiterator(self.repo(),"",SEARCH_NO_STORAGE_SOLVABLE,self) + d = Dataiterator(None, self.repo(),"",SEARCH_NO_STORAGE_SOLVABLE,self) while d.step(): yield d.value() %} @@ -253,7 +253,7 @@ #endif if (name) { - /* key existing in pool ? */ + /* key existing in pool/repo for this solvable ? */ Id key; key = str2id( $self->pool, name, 0); if (key != ID_NULL) { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org