(self, computername)
Sets the Local name for the machine.
Sets the Local name for the machine.
Sets the Local name for the machine .
def SetComputerName(self, computername):
    """Sets the Local name for the machine."""
    current_computername = self.GetPathValue(u'/System/System/ComputerName')
    if current_computername != computername:
      self.SetPathValue(u'/System/System/ComputerName', computername)
def SetComputerName ( self , computername ) : current_computername = self . GetPathValue ( u'/System/System/ComputerName' ) if current_computername != computername : self . SetPathValue ( u'/System/System/ComputerName' , computername )