projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup some imports
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
DiskInfo.py
diff --git
a/lib/python/Components/DiskInfo.py
b/lib/python/Components/DiskInfo.py
index
0b7e0bc
..
07a6aa4
100644
(file)
--- a/
lib/python/Components/DiskInfo.py
+++ b/
lib/python/Components/DiskInfo.py
@@
-1,6
+1,6
@@
-from GUIComponent import
*
-from VariableText import
*
-
import o
s
+from GUIComponent import
GUIComponent
+from VariableText import
VariableText
+
from os import statvf
s
from enigma import eLabel
from enigma import eLabel
@@
-21,7
+21,7
@@
class DiskInfo(VariableText, GUIComponent):
def update(self):
try:
def update(self):
try:
- stat =
os.
statvfs(self.path)
+ stat = statvfs(self.path)
except OSError:
return -1
except OSError:
return -1