git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix last checkin to just store the full path (e.g.,
[bootmanager.git]
/
source
/
systeminfo.py
diff --git
a/source/systeminfo.py
b/source/systeminfo.py
index
6802386
..
2f0ade6
100755
(executable)
--- a/
source/systeminfo.py
+++ b/
source/systeminfo.py
@@
-146,7
+146,7
@@
def get_block_device_list(vars = {}, log = sys.stderr):
# and /dev/sda, etc. were just symlinks
try:
devfsname= os.readlink( "/dev/%s" % devicename )
# and /dev/sda, etc. were just symlinks
try:
devfsname= os.readlink( "/dev/%s" % devicename )
- valid_blk_names[devfsname]=
devicenam
e
+ valid_blk_names[devfsname]=
Non
e
except OSError:
pass
except OSError:
pass
@@
-190,8
+190,6
@@
def get_block_device_list(vars = {}, log = sys.stderr):
# skip and ignore any partitions
if not valid_blk_names.has_key(device):
continue
# skip and ignore any partitions
if not valid_blk_names.has_key(device):
continue
- elif valid_blk_names[device] is not None:
- device= valid_blk_names[device]
try:
major= int(parts[0])
try:
major= int(parts[0])