Feature #571 - Closing storage objects - Removed closing(), renamed
authorJoar Wandborg <git@wandborg.com>
Mon, 5 Sep 2011 20:06:47 +0000 (22:06 +0200)
committerJoar Wandborg <git@wandborg.com>
Mon, 5 Sep 2011 20:06:47 +0000 (22:06 +0200)
commitc2b862d1349b5ecc6d787000edb209525b719751
tree17b6f96271ae598ef5b6b6d5f6e9c3aa3653f025
parent05d5d45bf9db4ffe6f7987a8c66e9f547fb1ce15
Feature #571 - Closing storage objects - Removed closing(), renamed
StorageObjectWrapper, added with-support to CloudFilesStorageWrapper

*   Removed custom `closing()` method
*   Removed usage of `closing()` in process_media/__init__.py
*   Renamed StorageObjectWrapper -> CloudFilesStorageObject wrapper
    In my first version of the StorageOjbectWrapper it was located
    inside the CloudFilesStorage object, things have changed since
    then but there has been no renaming, thank you Elrond for the
    good point.
*   CloudFilesStorageObjectWrapper now supports context manager
    methods such as `__enter__()` and `__exit__()` (and `close()`)
mediagoblin/process_media/__init__.py
mediagoblin/storage.py