def _build_gecos(gecos_dict):
    return u'{0},{1},{2},{3}'.format(gecos_dict.get('fullname', ''),
                                    gecos_dict.get('roomnumber', ''),
                                    gecos_dict.get('workphone', ''),
                                    gecos_dict.get('homephone', ''))
Send a heartbeat if needed. Tracks last heartbeat send time.
dataset/ETHPy150Open saltstack/salt/salt/modules/pw_user.py/_build_gecos--crossover with--dataset/ETHPy150Open agoragames/haigha/haigha/connection.py/ConnectionChannel.send_heartbeat