From 3c0c2fa47e2a519005f4c07dac8b1e09c86eeee4 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 17 Jan 2010 15:48:16 +0100 Subject: apt/progress/text.py: Replace one print statement with a .write() call. --- apt/progress/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt/progress') 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): -- cgit v1.2.3