import random


def random_choice(bucket):
    """Safely get a random choice from a list.

    If the list is zero-length, this just returns an empty string rather than
    raise an exception.

    Parameters:
        bucket (list): A list to randomly choose from.

    Returns:
        str: The random choice. Blank string if the list was empty.
    """
    if len(bucket) == 0:
        return ""
    return random.choice(bucket)