summaryrefslogtreecommitdiff
path: root/apt/progress
diff options
context:
space:
mode:
Diffstat (limited to 'apt/progress')
-rw-r--r--apt/progress/text.py2
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):