zypp: sort PoolQuery result by version
authorZhang Qiang <qiang.z.zhang@intel.com>
Mon, 17 Oct 2011 05:45:31 +0000 (13:45 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 17 Oct 2011 05:45:31 +0000 (13:45 +0800)
commit750020635352ea1c3d8d7323bc5abd759a4e115a
tree3c0436787b2ba1aa620ea345054171dde9c9ddb4
parent7d6b07ca1d109e98b3102e018d330bd5bec5eab4
zypp: sort PoolQuery result by version

if multi version packages exist in repo, always select the highest
version to install.
plugins/backend/zypppkgmgr.py