projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
131efd1
)
Print EOL before "unable to write data" error
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sat, 17 Apr 2010 16:57:51 +0000
(18:57 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:27:01 +0000
(11:27 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 86e247994d86cc00b3be47bea957eb1edbd99053..6389c656e1d2711d39ef7f00b3dd4f6edf8499f6 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-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('
\n
ERROR: unable to write data: %s' % str(err))
block_size = self.best_block_size(after - before, data_block_len)
# Progress message