def _username():
    if pwd:
        username = pwd.getpwuid(os.getuid()).pw_name
    else:
        username = getpass.getuser()

    return username
Load a snapshot from a file path or a file object
dataset/ETHPy150Open saltstack/salt/salt/grains/minion_process.py/_username--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/snapshot.py/Snapshot.load