Print EOL before "unable to write data" error

pull/15/head
Ricardo Garcia 2010-04-17 18:57:51 +02:00
rodzic 131efd1ae0
commit 0228ee9788
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -569,7 +569,7 @@ class FileDownloader(object):
try:
stream.write(data_block)
except (IOError, OSError), err:
self.trouble('ERROR: unable to write data: %s' % str(err))
self.trouble('\nERROR: unable to write data: %s' % str(err))
block_size = self.best_block_size(after - before, data_block_len)
# Progress message