def load(self, backend, *args, **kwargs):
        i = backend.rfind('.')
        module, attr = backend[:i], backend[i+1:]
        try:
            __import__(module)
            mod = sys.modules[module]
        except ImportError, e:
            raise ImproperlyConfigured(
                "Error importing upload handler module %s: '%s'" % (module, e))
        try:
            cls = getattr(mod, attr)
        except __HOLE__:
            raise ImproperlyConfigured(
                "Module '%s' does not define a '%s' backend" % (module, attr))
        return cls(*args, **kwargs)
dataset/ETHPy150Open jezdez-archive/django-vcstorage/src/vcstorage/storage.py/VcStorage.load