[pywin32-checkins] pywin32/Wise brandall.py,1.4,1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2003-07-07 14:08:17
|
Update of /cvsroot/pywin32/pywin32/Wise In directory sc8-pr-cvs1:/tmp/cvs-serv29186 Modified Files: brandall.py Log Message: Warn myself if the target file exists. Index: brandall.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Wise/brandall.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** brandall.py 7 Jul 2003 10:18:41 -0000 1.4 --- brandall.py 7 Jul 2003 14:08:14 -0000 1.5 *************** *** 9,14 **** import brandWin32, brandWin32com, brandPythonwin - #import pythoncom - def doit(): desc = None --- 9,12 ---- *************** *** 87,90 **** --- 85,93 ---- print "Can not find '%s' - can not generate installation" % wse_name return + target_name = "win32all-" + str(build) + ".exe" + if os.path.isfile(target_name): + print "WARNING: %s already exists - press ENTER to have it killed anyway" % target_name + raw_input() + defines_str = "" for d in defines: |