Author: dmeyer
Date: Sun Mar 11 10:01:10 2007
New Revision: 2539
Modified:
trunk/beacon/src/server/hwmon/hal.py
Log:
also handle minor device numbers > 9
Modified: trunk/beacon/src/server/hwmon/hal.py
==============================================================================
--- trunk/beacon/src/server/hwmon/hal.py (original)
+++ trunk/beacon/src/server/hwmon/hal.py Sun Mar 11 10:01:10 2007
@@ -270,7 +270,8 @@
return
if prop.get('block.device') and config.discs and \
- prop.get('block.device')[:-1] in config.discs.split(' '):
+ (prop.get('block.device')[:-1] in config.discs.split(' ') or \
+ prop.get('block.device')[:-2] in config.discs.split(' ')):
# fixed device set in config
return
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog