[Checkins] SVN: Sandbox/J1m/s3_blob_hack/src/zc/s3blobhack/__init__.py fixed regex.

Jim Fulton jim at zope.com
Fri Jul 29 15:11:59 EDT 2011


Log message for revision 122428:
  fixed regex.
  

Changed:
  U   Sandbox/J1m/s3_blob_hack/src/zc/s3blobhack/__init__.py

-=-
Modified: Sandbox/J1m/s3_blob_hack/src/zc/s3blobhack/__init__.py
===================================================================
--- Sandbox/J1m/s3_blob_hack/src/zc/s3blobhack/__init__.py	2011-07-29 18:07:26 UTC (rev 122427)
+++ Sandbox/J1m/s3_blob_hack/src/zc/s3blobhack/__init__.py	2011-07-29 19:11:59 UTC (rev 122428)
@@ -11,7 +11,7 @@
 # copy script that gets around the fact that we haven't implemented
 # committing blobs.
 
-hexmatch = re.compile('0x(\d\d)$').match
+hexmatch = re.compile('0x([0-9a-fA-F]{2})$').match
 
 def copy_blobs(args=None):
     if args is None:



More information about the checkins mailing list