On 10/04/15 09:45 +1200, Lars Wirzenius said ...
> The following code in dput seems wrong:
> 
>             if version.find(':') > 0:
>                 if debug: print "D: Epoch found"
>                 version = version[2:]
> 
> Epochs are not limited to single digits, so assuming you can strip
> it off with version[2:] is a bug. Something like this might work:
> 
>     epoch, version = version.split(':', 1)
> 
> (I've used an epoch of 99, once. ;)

Thank you Lars, I fixed this in dput git and the change will be included in
the next upload to the archive.  I suppose I'll have to audit the code a bit
to check for similar 'assumption bugs'.

Cheers,

Giridhar

-- 
Y Giridhar Appaji Nag | http://people.debian.org/~appaji/

Attachment: signature.asc
Description: Digital signature

Reply via email to