def _get_process_info(proc):
 cmd = salt.utils.to_str((proc.CommandLine or ''))
 name = salt.utils.to_str(proc.Name)
 info = dict(cmd=cmd, name=name, **_get_process_owner(proc))
 return info

def _get_process_info ( proc ) : cmd = salt . utils . to_str ( ( proc . CommandLine or '' ) ) name = salt . utils . to_str ( proc . Name ) info = dict ( cmd = cmd , name = name , ** _get_process_owner ( proc ) ) return info
return process information .