def get_default_gid(uid):
    if isinstance(uid, int):
        return pwd.getpwuid(uid).pw_gid
    return pwd.getpwnam(uid).pw_gid
Take a dictionary of {long_name:values}, and join the values.
dataset/ETHPy150Open circus-tent/circus/circus/util.py/get_default_gid--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/graphy/backends/google_chart_api/util.py/JoinLists