[pybot-commits] CVS: pybot/contrib vera2info.py,1.2,1.3
Brought to you by:
niemeyer
From: Gustavo N. <nie...@us...> - 2003-08-27 17:08:31
|
Update of /cvsroot/pybot/pybot/contrib In directory sc8-pr-cvs1:/tmp/cvs-serv23476/contrib Modified Files: vera2info.py Log Message: * modules/permissions.py: Implemented permission parameters. * modules/{remoteinfo.py,infopack.py}: Adapted to work with premission parameters. * modules/infopack.py: Implemented infopack searching. Index: vera2info.py =================================================================== RCS file: /cvsroot/pybot/pybot/contrib/vera2info.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vera2info.py 16 May 2003 17:28:03 -0000 1.2 --- vera2info.py 27 Aug 2003 17:08:13 -0000 1.3 *************** *** 11,15 **** for line in file.xreadlines(): if line[:6] == "@item ": ! key = line[6:].rstrip().lower() if key != lastkey: if lastkey and not nextisvalue: --- 11,15 ---- for line in file.xreadlines(): if line[:6] == "@item ": ! key = line[6:].rstrip() if key != lastkey: if lastkey and not nextisvalue: *************** *** 25,30 **** if not append: sys.stdout.write("V:tm:%s" % value) ! else: sys.stdout.write(", %s" % value) nextisvalue = 0 file.close() --- 25,32 ---- if not append: sys.stdout.write("V:tm:%s" % value) ! elif lastkey != "VERA": sys.stdout.write(", %s" % value) + else: + sys.stdout.write("Virtual Entity of Relevant Acronyms") nextisvalue = 0 file.close() |