diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:22:44 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-12-19 02:22:44 +0000 |
| commit | 0ccffb6b503d7a285f3d5f7d7e44999d6eb60784 (patch) | |
| tree | 771f6866a3cdf4e6da3339e2ea5183d52c4ae6fa /lib/python/Components/DiskInfo.py | |
| parent | ed40f6f85c9c07c3c1224ae20601082c0309a631 (diff) | |
| download | enigma2-0ccffb6b503d7a285f3d5f7d7e44999d6eb60784.tar.gz enigma2-0ccffb6b503d7a285f3d5f7d7e44999d6eb60784.zip | |
fix imports
Diffstat (limited to 'lib/python/Components/DiskInfo.py')
| -rw-r--r-- | lib/python/Components/DiskInfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/DiskInfo.py b/lib/python/Components/DiskInfo.py index 0b7e0bcb..ba04ea49 100644 --- a/lib/python/Components/DiskInfo.py +++ b/lib/python/Components/DiskInfo.py @@ -1,6 +1,6 @@ from GUIComponent import * from VariableText import * -import os +from os import statvfs from enigma import eLabel @@ -21,7 +21,7 @@ class DiskInfo(VariableText, GUIComponent): def update(self): try: - stat = os.statvfs(self.path) + stat = statvfs(self.path) except OSError: return -1 |
