def _get_uid(name):
    """Returns an uid, given a user name."""
    if getpwnam is None or name is None:
        return None
    try:
        result = getpwnam(name)
    except __HOLE__:
        result = None
    if result is not None:
        return result[2]
    return None
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/distutils/archive_util.py/_get_uid