* Yang, Yi Y <yi.y.yang@intel.com> [Nov 16. 2010 08:56]:
, the below code also has issue:
for item in installed_pkgs: if not zypp.isKindPattern(item): print item.repoInfo().packagesPath() print zypp.asKindPackage(item).location().filename() print "%s.%s %s:%d" % (item.name(), item.arch(), item.edition(), item.installSize())
swig/python detected a memory leak of type 'zypp::OnMediaLocation *', no destructor found. Traceback (most recent call last): File "list_resolvables.py", line 132, in <module> print zypp.asKindPackage(item).location().filename() AttributeError: 'SwigPyObject' object has no attribute 'filename'
This one is also fixed now in git master. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org