Bug#619997: python-debian: BaseVersion is not strict enough
John Wright
jsw at debian.org
Wed Mar 30 07:56:50 UTC 2011
tags 619997 + pending
thanks
On Tue, Mar 29, 2011 at 02:48:00PM +1100, Steve Kowalik wrote:
> Package: python-debian
> Version: 0.1.17~bzr184~launchpad1
> Severity: normal
> Tags: patch
>
> Hi,
>
> The BaseVersion class in debian_support contains an re_valid_version
> regular expression. It isn't quite strict enough, to quote from Policy
> 5.6.12: "if there is no epoch then colons are not allowed.".
>
> Find attached a patch that corrects that.
Thanks for the patch! Committed (just slightly modified):
http://git.debian.org/?p=pkg-python-debian/python-debian.git;a=commitdiff;h=667c5f8cec25837a728be4d2919ed3d1fd418683
--
John Wright <jsw at debian.org>
More information about the pkg-python-debian-maint
mailing list