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

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):

John Wright <jsw at debian.org>

More information about the pkg-python-debian-maint mailing list