Bug#680891: python-apt: documentation for apt_pkg.version_compare wrong

2013-03-09 Thread Michael Vogt
On Sun, Jul 08, 2012 at 04:18:51PM -0600, Ansgar Burchardt wrote: > Package: python-apt > Version: 0.8.4 > Severity: normal > > The documentation for apt_pkg.version_compare states > > Compare the given versions; return -1 if 'a' is smaller than 'b', > 0 if they are equal, and 2 if 'a' is

Bug#680891: python-apt: documentation for apt_pkg.version_compare wrong

2012-07-08 Thread Ansgar Burchardt
Package: python-apt Version: 0.8.4 Severity: normal The documentation for apt_pkg.version_compare states Compare the given versions; return -1 if 'a' is smaller than 'b', 0 if they are equal, and 2 if 'a' is larger than 'b'. but this is wrong: apt_pkg.version_compare('3.2.1-11+squee