Declare mixin methods (ClassMixin, ToolMixin...) as 'public' in the Zope sense to avoid security problems and corrected a small bug in the new POD statement for defining variables (regular expression forced the user to put spaces in the variable declaration before and after the '=' sign).
This commit is contained in:
parent
a5707f1fa6
commit
b4d2360d6f
5 changed files with 9 additions and 1 deletions
|
@ -177,7 +177,7 @@ class MemoryBuffer(Buffer):
|
|||
actionRex = re.compile('(?:(\w+)\s*\:\s*)?do\s+(\w+)(-)?' \
|
||||
'(?:\s+(for|if|else|with)\s*(.*))?')
|
||||
forRex = re.compile('\s*([\w\-_]+)\s+in\s+(.*)')
|
||||
varRex = re.compile('\s*([\w\-_]+)\s+=\s+(.*)')
|
||||
varRex = re.compile('\s*([\w\-_]+)\s*=\s*(.*)')
|
||||
def __init__(self, env, parent):
|
||||
Buffer.__init__(self, env, parent)
|
||||
self.content = u''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue