in uberpoet/multisuite.py [0:0]
def dump_system_info(self):
logging.info('Recording device info')
with open(self.sys_info_path, 'w') as info_file:
info_file.write(grab_mac_marketing_name())
info_file.write('\n')
info_file.flush()
subprocess.check_call(['system_profiler', 'SPHardwareDataType', '-detailLevel', 'mini'], stdout=info_file)
subprocess.check_call(['sw_vers'], stdout=info_file)