core-modules: remove duplicate get_disk_usage
This commit is contained in:
parent
4b15838009
commit
8c26f19103
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user