Revert "dom0/qvm-prefs: remove duplicated set_include_in_backups"

This reverts commit aa99c411db.
This wasn't duplicated...

Conflicts:

	dom0/qvm-tools/qvm-prefs
This commit is contained in:
Marek Marczykowski 2012-04-24 14:01:22 +02:00
parent 804dc973ed
commit a96f6a1e81

View File

@ -283,6 +283,15 @@ def set_debug(vms, vm, args):
vm.debug = False
else:
vm.debug = 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 = {