Bug#633081: python-apt: apt.progress.text does not work if output is not a terminal
Package: python-apt
Version: 0.7.100.1
Severity: normal
apt.progress.text makes a termio ioctl against its output even if it's
not a terminal.
buf = fcntl.ioctl(self._file, termios.TIOCGWINSZ, 8 * ' ')
Hamish
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.39.1-linode34 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-apt depends on:
ii apt [libapt-pkg4.10] 0.8.10.3 Advanced front-end for dpkg
ii apt-utils [libapt-inst1 0.8.10.3 APT utility programs
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-apt-common 0.7.100.1 Python interface to libapt-pkg (lo
ii python2.5 2.5.5-11 An interactive high-level object-o
ii python2.6 2.6.6-8+b1 An interactive high-level object-o
Versions of packages python-apt recommends:
ii iso-codes 3.23-1 ISO language, territory, currency,
ii lsb-release 3.2-23.2squeeze1 Linux Standard Base version report
ii python2.6 2.6.6-8+b1 An interactive high-level object-o
Versions of packages python-apt suggests:
pn python-apt-dbg <none> (no description available)
pn python-apt-doc <none> (no description available)
pn python-gtk2 <none> (no description available)
pn python-vte <none> (no description available)
-- no debconf information
Reply to: