On Tuesday 19 October 2010 13:55:47 Klaus Kaempf wrote:
A quick solution is to provide an explicit type conversion function, e.g.
Well, it looks like swig/python has some trouble to handle the DefaultAccept type at all (better said, I have trouble to tell swig how to handle it). It complains about possible memory leak and misssing dtor... So I finally fixed it by providing integer based versions of KeyRing::defaultAcceptBits / KeyRing::setDefaultAcceptBits. You need zypp bindings version -0.5.5 for this. This version will be available soon at: obs://zypp:Code11_3-Branch http://download.opensuse.org/repositories/zypp:/Code11_3-Branch/openSUSE_11.... obs://zypp:Head http://download.opensuse.org/repositories/zypp:/Head/openSUSE_Factory/ -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org