diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-01-17 15:48:16 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-01-17 15:48:16 +0100 |
| commit | 3c0c2fa47e2a519005f4c07dac8b1e09c86eeee4 (patch) | |
| tree | cb3b41f56ced0ed324bcd62ca742720135871fed /apt | |
| parent | a1f06a125e59bf06ea8fccea9b584097221c0032 (diff) | |
| download | python-apt-3c0c2fa47e2a519005f4c07dac8b1e09c86eeee4.tar.gz | |
apt/progress/text.py: Replace one print statement with a .write() call.
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/progress/text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/progress/text.py b/apt/progress/text.py index 796577e2..5e45c1db 100644 --- a/apt/progress/text.py +++ b/apt/progress/text.py @@ -41,7 +41,7 @@ class TextProgress(object): def _write(self, msg, newline=True, maximize=False): """Write the message on the terminal, fill remaining space.""" self._file.write("\r") - print >> self._file, msg, + self._file.write(msg) # Fill remaining stuff with whitespace if self._width > len(msg): |
