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.
Sorry, There is a transcription error in the script. The original one looks like this: taginfo.py: import sys line = sys.stdin.readline() while line != '': print line line = sys.stdin.readline() print sys.stdin print sys.argv "Daniel Lapolla" <ldlapolla at yahoo.com> escreveu na mensagem news:c9pnuu$ua6$1 at paris.nodomain.org... > Hi, > > I wrote a simple python script to capture the list of files passed to stdin > to the taginfo scripts: > > taginfo.py: > import sys > > line = sys.stdin.readline() > while line != '': > print line > > print sys.stdin > print sys.argv > > The taginfo file looks like this: > ALL c:\taginfo.py > > Then when I run cvs tag via Wincvs, the log window shows this: > > cvs tag -b br_test mytestfile.txt (in directory E:\folder1\module\) > <open file '<stdin>', mode 'r' at 0x0086E020> > > ['c:\\taginfo.py', 'br_test', 'add', '/test_cvs/module'] > > T mytestfile.txt > > ***** CVS exited normally with code 0 ***** > > It does not outputs the list of tagged files. What is wrong with this > script? > > Thanks in advance, > > Daniel > >