CVS: python/mspgcc jtag.py,1.2,1.3
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/python/mspgcc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26535/mspgcc
Modified Files:
jtag.py
Log Message:
bugfix for platform!=win32
Index: jtag.py
===================================================================
RCS file: /cvsroot/mspgcc/python/mspgcc/jtag.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- jtag.py 13 Apr 2006 20:22:50 -0000 1.2
+++ jtag.py 14 Apr 2006 15:59:20 -0000 1.3
@@ -74,7 +74,8 @@
else:
import os
#create a wrapper class with ctypes, that has the same API as _parjtag
- def locate_library(libname, paths=sys.path, loader=ctypes.windll):
+ def locate_library(libname, paths=sys.path, loader=None):
+ if loader is None: loader=ctypes.windll
for path in paths:
if path.lower().endswith('.zip'):
path = os.path.dirname(path)
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642