[Zodb-checkins] CVS: Zope/lib/python/ZODB - winlock.c:1.6.16.2

Fred L. Drake, Jr. fdrake@acm.org
Wed, 20 Feb 2002 09:54:20 -0500


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv29678

Modified Files:
      Tag: Zope-2_5-branch
	winlock.c 
Log Message:
Reduce dependence on the format of CVS keyword expansions.

=== Zope/lib/python/ZODB/winlock.c 1.6.16.1 => 1.6.16.2 ===
 initwinlock(void) {
   PyObject *m, *d;
-  char *rev="$Revision$";
 
   if (!(Error=PyString_FromString("winlock.error"))) 
       return;
@@ -79,9 +78,4 @@
 
   d = PyModule_GetDict(m);
   PyDict_SetItemString(d, "error", Error);
-  /* XXX below could blow up in PyDict_SetItem() */
-  PyDict_SetItemString(d,"__version__",
-		       PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
 }
-
-