dom0/qvm-prefs: remove duplicated set_include_in_backups

This commit is contained in:
Marek Marczykowski 2012-04-23 12:17:28 +02:00
parent c93744d762
commit f84f2fd762

View File

@ -289,14 +289,6 @@ def set_include_in_backups(vms, vm, args):
vm.include_in_backups = bool(eval(args[0].capitalize())) vm.include_in_backups = bool(eval(args[0].capitalize()))
return True return True
def set_include_in_backups(vms, vm, args):
if len (args) != 1:
print >> sys.stderr, "Missing value (True/False)!"
return False
vm.include_in_backups = bool(eval(args[0].capitalize()))
return True
properties = { properties = {
"include_in_backups": set_include_in_backups, "include_in_backups": set_include_in_backups,
"pcidevs": set_pcidevs, "pcidevs": set_pcidevs,