From 2909d252d613967c11a292a61a83c7af185e56d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 21 May 2016 03:31:29 +0200 Subject: [PATCH] backup: get_fisk_usage is now in storage.file --- qubes/backup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qubes/backup.py b/qubes/backup.py index 3c8dae5d..a467e701 100644 --- a/qubes/backup.py +++ b/qubes/backup.py @@ -41,6 +41,7 @@ from multiprocessing import Queue, Process import qubes import qubes.core2migration import qubes.storage +import qubes.storage.file QUEUE_ERROR = "ERROR" @@ -214,7 +215,7 @@ class SendWorker(Process): class Backup(object): class FileToBackup(object): def __init__(self, file_path, subdir=None): - sz = qubes.storage.get_disk_usage(file_path) + sz = qubes.storage.file.get_disk_usage(file_path) if subdir is None: abs_file_path = os.path.abspath(file_path)