From 3fcfbbac222fe4454e491b73089387b9b65409bc Mon Sep 17 00:00:00 2001 From: Olivier MEDOC Date: Tue, 10 Dec 2013 15:05:03 +0100 Subject: [PATCH] backups: fix trailing slashes for anonymized vm dirnames --- core/backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/backup.py b/core/backup.py index 146d512b..ca67294c 100644 --- a/core/backup.py +++ b/core/backup.py @@ -124,7 +124,7 @@ def backup_prepare(vms_list = None, exclude_list = [], continue if hide_vm_names: - subdir = 'vm%d' % vm.qid + subdir = 'vm%d/' % vm.qid else: subdir = None @@ -179,7 +179,7 @@ def backup_prepare(vms_list = None, exclude_list = [], continue vm_sz = vm.get_disk_utilization() if hide_vm_names: - template_subdir = 'vm%d' % vm.qid + template_subdir = 'vm%d/' % vm.qid else: template_subdir = os.path.relpath( vm.dir_path,