Author: kkaempf Date: Thu Dec 4 13:08:06 2008 New Revision: 11863 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11863&view=rev Log: fix name() default string() to equal name() Modified: trunk/sat-solver/bindings/repokey.i Modified: trunk/sat-solver/bindings/repokey.i URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/bindings/repokey.i?rev=11863&r1=11862&r2=11863&view=diff ============================================================================== --- trunk/sat-solver/bindings/repokey.i (original) +++ trunk/sat-solver/bindings/repokey.i Thu Dec 4 13:08:06 2008 @@ -35,7 +35,7 @@ const char *name() { Repokey *key = xrepokey_repokey( $self ); - return my_id2str( $self->repodata->repo->pool, key->name ); + return my_id2str( $self->repo->pool, key->name ); } /* type id of key */ int type_id() @@ -128,7 +128,8 @@ #endif const char *string() { - return "<Repokey>"; + Repokey *key = xrepokey_repokey( $self ); + return my_id2str( $self->repo->pool, key->name ); } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org