Switching the hook 'get_media_manager' to a more "directed" tuple-hook
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 12 Jul 2013 22:04:08 +0000 (17:04 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 12 Jul 2013 22:04:08 +0000 (17:04 -0500)
commit6403bc928bbdd916248775580d1bfa90c511f2dc
treebe54a57b740158e92ecc79840a74d9f283a82e4f
parent91bee92e8ef188e4a5aa191b6c047a57a668f5fa
Switching the hook 'get_media_manager' to a more "directed" tuple-hook

By switching this to a tuple that includes the media type in the key
itself, this requires iteration and execution of functions that
"check" that they are the right type.

This commit sponsored by Greg Grossmeier.  Thanks buddy! :)
mediagoblin/db/mixin.py
mediagoblin/media_types/__init__.py
mediagoblin/media_types/ascii/__init__.py
mediagoblin/media_types/audio/__init__.py
mediagoblin/media_types/image/__init__.py
mediagoblin/media_types/pdf/__init__.py
mediagoblin/media_types/stl/__init__.py
mediagoblin/media_types/video/__init__.py