core-modules: remove duplicate get_disk_usage

This commit is contained in:
Wojciech Zygmunt Porczyk 2014-04-28 13:33:18 +02:00
parent 4b15838009
commit 8c26f19103
2 changed files with 0 additions and 6 deletions

View File

@ -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

View File

@ -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