(entry)
return namespace, entry
Split a toggle entry into the namespace an the item.
    :return: tuple(namespace, item)
Split a toggle entry into the namespace an the item.
    :return: tuple(namespace, item)
Split a toggle entry into the namespace an the item . : return : tuple ( namespace item )
def parse_toggle(entry):
    """
    Split a toggle entry into the namespace an the item.
    :return: tuple(namespace, item)
    """
    from corehq.toggles import NAMESPACE_DOMAIN, NAMESPACE_EMAIL_DOMAIN
    namespace = None
    if entry.startswith((NAMESPACE_DOMAIN + ':', NAMESPACE_EMAIL_DOMAIN + ':')):
        namespace, entry = entry.split(":")
    return namespace, entry
def parse_toggle ( entry ) : from corehq . toggles import NAMESPACE_DOMAIN , NAMESPACE_EMAIL_DOMAIN namespace = None if entry . startswith ( ( NAMESPACE_DOMAIN + ':' , NAMESPACE_EMAIL_DOMAIN + ':' ) ) : namespace , entry = entry . split ( ":" ) return namespace , entry