From 61b3a81e822bdb69f81b853595610e848d8c4f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 24 Nov 2013 03:17:15 +0100 Subject: [PATCH] backup: remove unused argument from backup_prepare --- core/qubesutils.py | 2 +- qvm-tools/qvm-backup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/qubesutils.py b/core/qubesutils.py index 89ddc740..a5c8f71d 100644 --- a/core/qubesutils.py +++ b/core/qubesutils.py @@ -777,7 +777,7 @@ def file_to_backup (file_path, sz = None): assert dir == abs_base_dir return [ { "path" : file_path, "size": sz, "subdir": subdir} ] -def backup_prepare(base_backup_dir, vms_list = None, exclude_list = [], print_callback = print_stdout): +def backup_prepare(vms_list = None, exclude_list = [], print_callback = print_stdout): """If vms = None, include all (sensible) VMs; exclude_list is always applied""" files_to_backup = file_to_backup (system_path["qubes_store_filename"]) diff --git a/qvm-tools/qvm-backup b/qvm-tools/qvm-backup index b8ddac61..ef8994f6 100755 --- a/qvm-tools/qvm-backup +++ b/qvm-tools/qvm-backup @@ -70,7 +70,7 @@ def main(): files_to_backup = None try: - files_to_backup = backup_prepare(base_backup_dir, vms_list=vms, exclude_list=options.exclude_list) + files_to_backup = backup_prepare(vms_list=vms, exclude_list=options.exclude_list) except QubesException as e: print >>sys.stderr, "ERROR: %s" % str(e) exit(1)