def get_mod_class(plugin):
    try:
        dot = plugin.rindex('.')
    except ValueError:
        return plugin, ''
    return plugin[:dot], plugin[dot+1:]
When a link-local IPv6 address including a scope identifier is passed as
dataset/ETHPy150Open IanLewis/django-lifestream/lifestream/feeds.py/get_mod_class--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/test/test_tcp.py/TCPPortTestsMixin.test_portGetHostOnIPv6ScopeID