[Zope-Checkins] CVS: Zope/ZServer/medusa - ftp_server.py:1.18.98.1 http_server.py:1.30.90.1 monitor.py:1.12.132.1 resolver.py:1.9.132.1

Toby Dickenson tdickenson@geminidataloggers.com
Wed, 20 Mar 2002 11:17:55 -0500


Update of /cvs-repository/Zope/ZServer/medusa
In directory cvs.zope.org:/tmp/cvs-serv2585/ZServer/medusa

Modified Files:
      Tag: toby-safe-missing-cvs-revision-tags-branch
	ftp_server.py http_server.py monitor.py resolver.py 
Log Message:
first attempt at cvs -kk support; see collector 140

=== Zope/ZServer/medusa/ftp_server.py 1.18 => 1.18.98.1 ===
 #    methods, using try/finally. [this seems to work]
 
-VERSION = string.split(RCS_ID)[2]
+if RCS_ID.startswith('$Id: '):
+    VERSION = string.split(RCS_ID)[2]
+else:
+    VERSION = '0.0'
 
 from counter import counter
 import producers


=== Zope/ZServer/medusa/http_server.py 1.30 => 1.30.90.1 ===
 import logger
 
-VERSION_STRING = string.split(RCS_ID)[2]
+if RCS_ID.startswith('$Id: '):
+    VERSION_STRING = string.split(RCS_ID)[2]
+else:
+    VERSION_STRING = '0.0'
 
 from counter import counter
 from urllib import unquote


=== Zope/ZServer/medusa/monitor.py 1.12 => 1.12.132.1 ===
 import time
 
-VERSION = string.split(RCS_ID)[2]
+if RCS_ID.startswith('$Id: '):
+    VERSION = string.split(RCS_ID)[2]
+else:
+    VERSION = '0.0'
 
 import asyncore
 import asynchat


=== Zope/ZServer/medusa/resolver.py 1.9 => 1.9.132.1 ===
 from counter import counter
 
-VERSION = string.split(RCS_ID)[2]
+if RCS_ID.startswith('$Id: '):
+    VERSION = string.split(RCS_ID)[2]
+else:
+    VERSION = '0.0'
 
 # header
 #                                    1  1  1  1  1  1