Package: dput
Version: 0.9.6.3+nmu1
Followup-For: Bug #664685

Hi,

patch attached, please upload (or tell me to do it, will gladly do).

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
m68k

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages dput depends on:
ii  gnupg   1.4.12-6
ii  python  2.7.3-3

dput recommends no packages.

Versions of packages dput suggests:
ii  lintian         2.5.10.2
pn  mini-dinstall   <none>
ii  openssh-client  1:6.0p1-3
ii  rsync           3.0.9-3

-- no debconf information
diff -Nru dput-0.9.6.3+nmu1/debian/changelog dput-0.9.6.3+nmu2/debian/changelog
--- dput-0.9.6.3+nmu1/debian/changelog	2012-10-14 15:22:48.000000000 +0000
+++ dput-0.9.6.3+nmu2/debian/changelog	2012-11-24 12:43:48.000000000 +0000
@@ -1,3 +1,10 @@
+dput (0.9.6.3+nmu2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add missing stdout flush between "Uploading" and "done." for
+    uploads to FTP, HTTP has them already. (Closes: #664685)
+
+ -- Thorsten Glaser <[email protected]>  Sat, 24 Nov 2012 12:43:26 +0000
+
 dput (0.9.6.3+nmu1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru dput-0.9.6.3+nmu1/ftp.py dput-0.9.6.3+nmu2/ftp.py
--- dput-0.9.6.3+nmu1/ftp.py	2009-03-24 10:02:41.000000000 +0000
+++ dput-0.9.6.3+nmu2/ftp.py	2012-11-24 12:43:20.000000000 +0000
@@ -53,6 +53,7 @@
                                               size=size)
             # print without linefeed
             sys.stdout.write("  Uploading %s: "% package_name)
+            sys.stdout.flush()
             ftp_connection.storbinary('STOR ' + package_name, \
                                       f, 1024)
             f.close()

Reply via email to