[Zope-Checkins] CVS: Zope2 - Product.py:1.47.10.2

Andreas Jung andreas@dhcp165.digicool.com
Mon, 23 Apr 2001 12:27:48 -0400


Update of /cvs-repository/Zope2/lib/python/App
In directory yetix:/work/sandboxes/ajung-2_4-ts_regex-exterminiation-branch/lib/python/App

Modified Files:
      Tag: ajung-2_4-ts_regex-exterminiation-branch
	Product.py 
Log Message:
added r".." notation for regexes



--- Updated File Product.py in package Zope2 --
--- Product.py	2001/04/18 18:44:44	1.47.10.1
+++ Product.py	2001/04/23 16:27:48	1.47.10.2
@@ -157,7 +157,7 @@
     _isBeingUsedAsAMethod_=1
 
     def new_version(self,
-                    _intending=re.compile("[.]?[0-9]+$").search, #TS
+                    _intending=re.compile(r"[.]?[0-9]+$").search, #TS
                     ):
         # Return a new version number based on the existing version.
         v=str(self.version)