[Python-checkins] CVS: python/dist/src/Lib/xml __init__.py,1.9,1.10

Martin v. L?wis loewis@users.sourceforge.net
Tue, 27 Mar 2001 00:42:14 -0800


Update of /cvsroot/python/python/dist/src/Lib/xml
In directory usw-pr-cvs1:/tmp/cvs-serv25373

Modified Files:
	__init__.py 
Log Message:
Use Guido's trick for always extracting the version number from a
CVS Revision string correctly, even under -kv.


Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/xml/__init__.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** __init__.py	2001/02/09 12:03:45	1.9
--- __init__.py	2001/03/27 08:42:12	1.10
***************
*** 16,20 ****
  __all__ = ["dom", "parsers", "sax"]
  
! __version__ = "$Revision$".split()[1]
  
  
--- 16,23 ----
  __all__ = ["dom", "parsers", "sax"]
  
! # When being checked-out without options, this has the form
! # "<dollar>Revision: x.y </dollar>"
! # When exported using -kv, it is "x.y".
! __version__ = "$Revision$".split()[-2][0]