def set_virt_auto_boot(self, num):
 if (num == '<<inherit>>'):
  self.virt_auto_boot = '<<inherit>>'
  return
 try:
  inum = int(num)
  if ((inum == 0) or (inum == 1)):
   self.virt_auto_boot = inum
   return
  raise CX(_(("invalid virt_auto_boot value (%s): value must be either '0' (disabled) or '1' (enabled)" % inum)))
 except:
  raise CX(_(("invalid virt_auto_boot value (%s): value must be either '0' (disabled) or '1' (enabled)" % num)))

def set_virt_auto_boot ( self , num ) : if ( num == '<<inherit>>' ) : self . virt_auto_boot = '<<inherit>>' return try : inum = int ( num ) if ( ( inum == 0 ) or ( inum == 1 ) ) : self . virt_auto_boot = inum return raise CX ( _ ( ( "invalid virt_auto_boot value (%s): value must be either '0' (disabled) or '1' (enabled)" % inum ) ) ) except : raise CX ( _ ( ( "invalid virt_auto_boot value (%s): value must be either '0' (disabled) or '1' (enabled)" % num ) ) )
for virt only .