[cvsnt] Bug? VerifyMsg

Bryan Leber bryan.leber at fischerinternational.com
Tue Sep 19 21:21:21 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Gabriel, 

Thanks for the advice. My verifymsg file has this in it

^IMP2.1/* C:/Python24/python.exe C:/CVSRepo/CVSROOT/test.py
-----------------------------------------------------------

My script looks like this:

#!/usr/bin/env python
import re
import sys
import os

argsList = []   #intializes a list named argsList
hndFile = open(sys.argv[1],"r") #opens a file and puts contents of
sys.argv in it
for line in hndFile:
    oMsg = line
    argsList.append(oMsg)   #appends each line in hndFile to the list
hndFile.flush()
hndFile.close()
logfile = open("C:/CVSAutoMailerPY/logmsg.txt","w")     #Testing
purposes
for i in argsList:
    logfile.write(i)    
    
feature = overview = False
for line in argsList:
    line = line.strip()
    if line.startswith('FEATURE_AFFECTED:'):
        feature = line[17:] != ''
    if line.startswith('OVERVIEW:'):
        overview = line[9:] != ''
if not feature:
    print "You Must Enter the Feature Affected"
    ret = -1
elif not overview:
    print "You Must Enter an Overview of the Fix"
    ret = -1
else:
    ret = 0
sys.exit(ret)

I have no idea what a Delphi program is

Bryan Leber


**************************************************************************************************************************

This mail message may contain confidential and privileged information from Fischer International which is
protected. Any unauthorized review, use, disclosure or distribution by any means is prohibited. If you are 
not the intended recipient, please contact the sender by reply email and destroy all copies of the original 
message.

**************************************************************************************************************************



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook