Author: dmeyer
Date: Fri Dec 15 19:19:32 2006
New Revision: 2241
Modified:
trunk/beacon/src/server/hwmon/cdrom.py
trunk/beacon/src/server/hwmon/hal.py
Log:
adjust to kaa.metadata changes
Modified: trunk/beacon/src/server/hwmon/cdrom.py
==============================================================================
--- trunk/beacon/src/server/hwmon/cdrom.py (original)
+++ trunk/beacon/src/server/hwmon/cdrom.py Fri Dec 15 19:19:32 2006
@@ -222,7 +222,7 @@
self.remove_disc()
return
- type, id = kaa.metadata.getid(self.device)
+ type, id = kaa.metadata.get_discid(self.device)
if not id:
# bad disc, let us assume it is no disc
self.remove_disc()
Modified: trunk/beacon/src/server/hwmon/hal.py
==============================================================================
--- trunk/beacon/src/server/hwmon/hal.py (original)
+++ trunk/beacon/src/server/hwmon/hal.py Fri Dec 15 19:19:32 2006
@@ -284,7 +284,7 @@
elif prop.get('block.device'):
# set nice beacon unique id
try:
- prop['volume.uuid'] =
kaa.metadata.getid(prop.get('block.device'))[1]
+ prop['volume.uuid'] =
kaa.metadata.get_discid(prop.get('block.device'))[1]
except Exception, e:
log.exception('device checking')
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