From 31be1376026ccb2ced58d9016a110d8d24e25876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Tue, 17 May 2016 17:29:13 +0300 Subject: [PATCH] minor fixing --- opt/ahenk/base/registration/Registration.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/opt/ahenk/base/registration/Registration.py b/opt/ahenk/base/registration/Registration.py index 9c0ee78..9ad9052 100644 --- a/opt/ahenk/base/registration/Registration.py +++ b/opt/ahenk/base/registration/Registration.py @@ -123,20 +123,6 @@ class Registration(): return json.dumps(params) - """ - def get_disks(self): - disk_info = [] - for _disk in psutil.disk_partitions(): - disk = {} - disk['device'] = str(_disk[0]) - disk['mountPoint'] = str(_disk[1]) - disk['fsType'] = str(_disk[2]) - disk['opts'] = str(_disk[3]) - json_data = json.dumps(disk) - disk_info.append(json_data) - return disk_info - """ - def unregister(self): self.logger.debug('[Registration] Ahenk is unregistering...') self.db_service.delete('registration', ' 1==1 ')