def _split_docker_uuid(uuid):
    '''
    Split a smartos docker uuid into repo and tag
    '''
    if uuid:
        uuid = uuid.split(':')
        if len(uuid) == 2:
            tag = uuid[1]
            repo = uuid[0]
            return repo, tag
    return None, None
def _split_docker_uuid ( uuid ) : if uuid : uuid = uuid . split ( ':' ) if len ( uuid ) == 2 : tag = uuid [ 1 ] repo = uuid [ 0 ] return repo , tag return None , None
Split a smartos docker uuid into repo and tag