Update of /cvsroot/pymerase/pymerase/pymweb/cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv20985/cgi
Modified Files:
pymweb.py
Log Message:
now outputs Pymerase and Pymweb versions
Index: pymweb.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/pymweb/cgi/pymweb.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pymweb.py 9 Apr 2003 15:45:09 -0000 1.11
--- pymweb.py 17 Apr 2003 01:11:20 -0000 1.12
***************
*** 40,43 ****
--- 40,49 ----
import glob
+ rev = "$Revision$"
+ rev = rev.replace('$Revision: ', '')
+ rev = rev.replace(' $', '')
+
+ VERSION = '0.%s' % (rev)
+
def getDriverScript(dest, compress, inputMod):
if compress == 'Tar&Gzip' and inputMod == "parseXMI":
***************
*** 255,259 ****
html += text
! text = "Version %s<br><br>\n\n" % (pymerase.VERSION)
print text
html += text
--- 261,266 ----
html += text
! text = "Pymerase %s<br>\n" % (pymerase.VERSION)
! text += "Pymweb v%s<br><br>\n\n" % (VERSION)
print text
html += text
|