Output from test.py:
$ python test.py /usr/lib/python2.5/site-packages/apt/__init__.py:18: FutureWarning: apt API not stable yet warnings.warn("apt API not stable yet", FutureWarning) current: <pkgCache::Version object: Pkg:'seahorse' Ver:'2.19.5-0ubuntu2' Section:'universe/gnome' Arch:'i386' Size:3831712 ISize:10444800 Hash:6104 ID:19408 Priority:4> candidate: <pkgCache::Version object: Pkg:'seahorse' Ver:'2.19.5-0ubuntu2' Section:'universe/gnome' Arch:'i386' Size:3831712 ISize:10444800 Hash:6104 ID:19408 Priority:4> Lookup: 1 src: name: seahorse
Output from test.py:
$ python test.py python2. 5/site- packages/ apt/__init_ _.py:18: FutureWarning: apt API not stable yet warn("apt API not stable yet", FutureWarning) 19.5-0ubuntu2' Section: 'universe/ gnome' Arch:'i386' Size:3831712 ISize:10444800 Hash:6104 ID:19408 Priority:4> 19.5-0ubuntu2' Section: 'universe/ gnome' Arch:'i386' Size:3831712 ISize:10444800 Hash:6104 ID:19408 Priority:4>
/usr/lib/
warnings.
current: <pkgCache::Version object: Pkg:'seahorse' Ver:'2.
candidate: <pkgCache::Version object: Pkg:'seahorse' Ver:'2.
Lookup: 1
src:
name: seahorse