Commit 17bc50f7 authored by 's avatar

Changes a use of regex to ts_regex for consistency

parent 531c6a57
...@@ -89,10 +89,10 @@ Aqueduct database adapters, etc. ...@@ -89,10 +89,10 @@ Aqueduct database adapters, etc.
This module can also be used as a simple template for implementing new This module can also be used as a simple template for implementing new
item types. item types.
$Id: SimpleItem.py,v 1.79 2000/09/05 20:52:47 brian Exp $''' $Id: SimpleItem.py,v 1.80 2000/12/11 15:01:57 brian Exp $'''
__version__='$Revision: 1.79 $'[11:-2] __version__='$Revision: 1.80 $'[11:-2]
import regex, sys, Globals, App.Management, Acquisition, App.Undo import ts_regex, sys, Globals, App.Management, Acquisition, App.Undo
import AccessControl.Role, AccessControl.Owned, App.Common import AccessControl.Role, AccessControl.Owned, App.Common
from webdav.Resource import Resource from webdav.Resource import Resource
from ExtensionClass import Base from ExtensionClass import Base
...@@ -211,7 +211,7 @@ class Item(Base, Resource, CopySource, App.Management.Tabs, Traversable, ...@@ -211,7 +211,7 @@ class Item(Base, Resource, CopySource, App.Management.Tabs, Traversable,
self, client=None, REQUEST={}, self, client=None, REQUEST={},
error_type=None, error_value=None, tb=None, error_type=None, error_value=None, tb=None,
error_tb=None, error_message='', error_tb=None, error_message='',
tagSearch=regex.compile('[a-zA-Z]>').search): tagSearch=ts_regex.compile('[a-zA-Z]>').search):
try: try:
if error_type is None: error_type =sys.exc_info()[0] if error_type is None: error_type =sys.exc_info()[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment