mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
ffee29d8e2
Rewrite places where files (or other resources) are opened but not closed to "with" blocks, which automatically call close() at the end of the scope. Also simplify some tests where images need to be saved to a model field: an opened file can be passed directly to FileField.save(). |
||
---|---|---|
.. | ||
activitypub | ||
activitystreams | ||
connectors | ||
data | ||
importers | ||
lists_stream | ||
management | ||
models | ||
templatetags | ||
utils | ||
views | ||
__init__.py | ||
test_author_search.py | ||
test_book_search.py | ||
test_context_processors.py | ||
test_emailing.py | ||
test_isbn.py | ||
test_partial_date.py | ||
test_preview_images.py | ||
test_sanitize_html.py | ||
test_signing.py | ||
test_suggested_users.py | ||
test_utils.py | ||
validate_html.py |