diff options
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/Harddisk.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/Components/Harddisk.py b/lib/python/Components/Harddisk.py index a6389770..b51d7a67 100644 --- a/lib/python/Components/Harddisk.py +++ b/lib/python/Components/Harddisk.py @@ -169,6 +169,12 @@ class HarddiskManager: if hddNum > 8: break + def HDDCount(self): + cnt = 0 + for hd in self.hdd: + cnt = cnt + 1 + return cnt + def HDDList(self): list = [ ] for hd in self.hdd: |
