def get_mod_class(plugin):
    try:
        dot = plugin.rindex('.')
    except ValueError:
        return plugin, ''
    return plugin[:dot], plugin[dot+1:]
Converts 'lifestream.plugins.FeedPlugin' to
dataset/ETHPy150Open IanLewis/django-lifestream/lifestream/feeds.py/get_mod_class