Kay Kurokawa
|
d68ca65e41
|
warn if reader is garbage collected but not closed, do the same for writer
|
2017-10-31 15:38:00 -04:00 |
|
Jack Robison
|
4b9c881cd0
|
fix recording reader was closed
reader_finished() is called when the reader closes, so the `readers -=
1` here was redundant and led to readers equalling -1 instead of 0.
|
2017-10-11 14:45:36 -04:00 |
|
Kay Kurokawa
|
043758c11f
|
rename moved_verified_blob as saved_verified_blob
|
2017-10-06 17:05:16 -04:00 |
|
Kay Kurokawa
|
d9cc81766d
|
use DeferredLock instead of threading.Lock() as it can cause deadlocks
|
2017-10-06 17:05:10 -04:00 |
|
Jack Robison
|
d1511cba54
|
fix reading sd blob
TODO: add __enter__ and __exit__ methods to HashBlobReader to let it be
used as a contextmanager
|
2017-10-05 17:58:18 -04:00 |
|
Kay Kurokawa
|
533835a732
|
add comments and docstrings
|
2017-09-27 17:40:52 -04:00 |
|
Kay Kurokawa
|
f6da00cbab
|
no need to catch IOError exception here, let it propagage
|
2017-09-27 17:30:20 -04:00 |
|
Kay Kurokawa
|
3b5690614c
|
Return HashBlobReader instead of file handle in open_for_reading()
|
2017-09-27 17:30:20 -04:00 |
|
Kay Kurokawa
|
09e25ba285
|
add reader, for BlobFile, change original reader to v0
|
2017-09-27 17:30:20 -04:00 |
|
Jack Robison
|
6cbe86d057
|
rename is_validated() to get_is_verified() to distinguish from verified property
|
2017-09-20 14:02:34 -04:00 |
|
Jack Robison
|
8419e1e1d5
|
change some ValueErrors to IOErrors
|
2017-09-20 13:59:26 -04:00 |
|
Kay Kurokawa
|
af3ab96815
|
deleting unused BlobFile.finished_deferred
|
2017-09-20 13:59:25 -04:00 |
|
Kay Kurokawa
|
e046af57fa
|
fix empty tail blobs in stream from being saved
|
2017-09-20 13:59:24 -04:00 |
|
Jack Robison
|
14636a5d38
|
split up HashBlob.py into lbrynet.blob
|
2017-09-20 13:59:24 -04:00 |
|