From 8c26f191032a7d5bf1582595c94592d2f6910487 Mon Sep 17 00:00:00 2001 From: Wojciech Zygmunt Porczyk Date: Mon, 28 Apr 2014 13:33:18 +0200 Subject: [PATCH] core-modules: remove duplicate get_disk_usage --- core-modules/006QubesAdminVm.py | 3 --- core-modules/01QubesHVm.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/core-modules/006QubesAdminVm.py b/core-modules/006QubesAdminVm.py index 24274f91..733c3740 100644 --- a/core-modules/006QubesAdminVm.py +++ b/core-modules/006QubesAdminVm.py @@ -52,9 +52,6 @@ class QubesAdminVm(QubesNetVm): def get_power_state(self): return "Running" - def get_disk_usage(self, file_or_dir): - return 0 - def get_disk_utilization(self): return 0 diff --git a/core-modules/01QubesHVm.py b/core-modules/01QubesHVm.py index 2033bf52..3e2bb293 100644 --- a/core-modules/01QubesHVm.py +++ b/core-modules/01QubesHVm.py @@ -236,9 +236,6 @@ class QubesHVm(QubesVm): for hook in self.hooks_create_on_disk: hook(self, verbose, source_template=source_template) - def get_disk_utilization_private_img(self): - return self.get_disk_usage(self.private_img) - def get_private_img_sz(self): if not os.path.exists(self.private_img): return 0