CVS: python msp430-downloader.py,1.8,1.9

Chris Liechti <[email protected]> Mon, 24 Apr 2006 12:49:11 -0700
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17389/python

Modified Files:
	msp430-downloader.py 
Log Message:
fix a bug left over from the package rename

Index: msp430-downloader.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-downloader.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- msp430-downloader.py	11 Apr 2006 18:35:23 -0000	1.8
+++ msp430-downloader.py	24 Apr 2006 19:49:08 -0000	1.9
@@ -39,7 +39,8 @@
     "MSP430 downloader\n\nDownload '%s' using the JTAG interface?" % (filename,),
     cancel=""
 ) != 1:
-    sys.exit(1)
+    print "User aborted"
+    sys.exit(2)
 
 #~ answer = EasyDialogs.AskYesNoCancel("Use JTAG or BSL?", 
     #~ default=1,yes="BSL", no="JTAG")
@@ -47,7 +48,7 @@
 #~ elif answer == 1: #YES -> BSL
 #~ else:   #CANCEL
 
-class ProgressJTAG(msp430.jtag.JTAG):
+class ProgressJTAG(mspgcc.jtag.JTAG):
     def progess_update(self, count, total):
         self.bar.set(100*count/total)
 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642