I am working on a zendmd script to remove the serial numbers for all devices, 
but I am getting some errors. 


Code:

for d in dmd.Devices.getSubDevices():
     for serial in d.hw.SerialNumber():
                serial.SerialNumber = ""





Once I run this I am seeing a AttributeError: Serial Number. 
I am assuming the second line is incorrect. Does anyone know the proper syntax 
to wipe these out? 

Thanks,
-t-




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=26907#26907

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to