From f84f2fd762a3d0679adad14d1db863245524a831 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 23 Apr 2012 12:17:28 +0200 Subject: [PATCH] dom0/qvm-prefs: remove duplicated set_include_in_backups --- dom0/qvm-tools/qvm-prefs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dom0/qvm-tools/qvm-prefs b/dom0/qvm-tools/qvm-prefs index b4e7d075..7ceefb2a 100755 --- a/dom0/qvm-tools/qvm-prefs +++ b/dom0/qvm-tools/qvm-prefs @@ -289,14 +289,6 @@ def set_include_in_backups(vms, vm, args): vm.include_in_backups = bool(eval(args[0].capitalize())) 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 = { "include_in_backups": set_include_in_backups, "pcidevs": set_pcidevs,