2012/8/12 Emmanuel Blot <eblot...@gmail.com>:
>>     if sys.platform.startswith('freebsd') or sys.platform.find('mac') != -1 
>> or
>
> I think you want to look for "darwin", not "mac":
>
>>>> import sys
>>>> sys.platform
> 'darwin'
>

Please, pull it again, there was a typo in the code. I look for both
'mac' and 'darwin', I don't know not exactly why, I took this code
from an old patch for PyUSB 0.

-- 
Best Regards,
Wander Lairson Costa

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to