sprockets.mixins.mediatype/sprockets
Dave Shawley 242a0590e6 Prevent meta-class error in top-level imports.
Extended the `ImportError` handling hack to correctly handle the
case where we cannot import submodules AND someone is extending
one of the exported classes.  Previously ContentMixin and
ContentSettings were functions when ImportError was raised which
causes really confusing errors.

The correct solution here is to stop exporting stuff at the top-
level and require clients to import from modules but that is for
another day.
2016-03-16 09:19:04 -04:00
..
mixins Prevent meta-class error in top-level imports. 2016-03-16 09:19:04 -04:00
__init__.py Initial commit 2015-06-09 09:28:29 -04:00