CVS: python msp430-downloader.py,1.1,1.2
Chris Liechti <[email protected]>
| 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-serv25734/python
Modified Files:
msp430-downloader.py
Log Message:
add a question to avoid unintentional downloads
Index: msp430-downloader.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-downloader.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- msp430-downloader.py 8 Sep 2004 14:58:01 -0000 1.1
+++ msp430-downloader.py 27 Sep 2004 00:40:17 -0000 1.2
@@ -24,6 +24,11 @@
+if EasyDialogs.AskYesNoCancel(
+ "Download '%s' with JTAG?" % filename,
+) != 1:
+ sys.exit(1)
+
#~ answer = EasyDialogs.AskYesNoCancel("Use JTAG or BSL?",
#~ default=1,yes="BSL", no="JTAG")
#~ if answer == 0: #NO -> JTAG
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php