clean up coding style a bit

This commit is contained in:
Mark Haines 2014-12-16 15:24:03 +00:00
parent 8b8beba194
commit 3c7857e49b
8 changed files with 26 additions and 26 deletions

View file

@ -135,6 +135,7 @@ class BaseMediaResource(Resource):
if download is None:
download = self._get_remote_media_impl(server_name, media_id)
self.downloads[key] = download
@download.addBoth
def callback(media_info):
del self.downloads[key]