Package: dput
Version: 0.9.5.1
Severity: normal

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. ;)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dput depends on:
ii  gnupg                         1.4.10-2   GNU privacy guard - a free PGP rep
ii  python                        2.5.4-9    An interactive high-level object-o

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian                       2.3.4      Debian package checker
pn  mini-dinstall                 <none>     (no description available)
ii  openssh-client                1:5.3p1-3  secure shell (SSH) client, for sec
ii  rsync                         3.0.7-2    fast remote file copy program (lik
pn  yaclc                         <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to