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