Merge commit 'origin/bug_558_wlanfixes'
[enigma2.git] / lib / python / Components / DiskInfo.py
index 0b7e0bcbdaaf16f6299e7d8309ee1f17921b34f7..07a6aa4b44a9c06dd090492e5e3ec7c6a31c4366 100644 (file)
@@ -1,6 +1,6 @@
-from GUIComponent import *
-from VariableText import *
-import os
+from GUIComponent import GUIComponent
+from VariableText import VariableText
+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