Package: dput
Version: 1.0.1
Severity: normal
Tags: patch

Hi,

when uploading a package to my mini-buildd, dput bombs out:

[54/3314]mh@salida:~/packages/cron-apt $ dput --unchecked --force 
mini-buildd-zg cron-apt_0.10.0~zgSID+1_source.changes 
Uploading to mini-buildd-zg (via ftp to mini-buildd.example.com:8067):
Traceback (most recent call last):
  File "/usr/bin/dput", line 11, in <module>
    load_entry_point('dput==1.0.1', 'console_scripts', 'execute-dput')()
  File "/usr/share/dput/dput/dput.py", line 1129, in main
    progress=progress, port=port)
  File "/usr/share/dput/dput/methods/ftp.py", line 29, in upload
    ftp_connection.connect(fqdn, port)
  File "/usr/lib/python3.5/ftplib.py", line 146, in connect
    if port > 0:
TypeError: unorderable types: str() > int()

Line 29 in ftp.py needs chaning from "port" to "int(port)" to make things work 
again

Greetings
Marc

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

Kernel: Linux 4.13.2-zgsrv20080 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dput depends on:
ii  python3                3.5.3-3
ii  python3-debian         0.1.30
ii  python3-gpg            1.9.0-4
ii  python3-pkg-resources  36.2.7-2

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian         2.5.52
pn  mini-dinstall   <none>
ii  openssh-client  1:7.5p1-10
ii  rsync           3.1.2-2

-- no debconf information

Reply via email to