[pod] Bugfix: repeated error in a for loop (https://bugs.launchpad.net/appy/+bug/394267). [gen] pod field: get the value of appy cookie 'showSubTitle' in any pod template.
This commit is contained in:
parent
3dfb90b5b3
commit
1ed4f0bf23
5 changed files with 194 additions and 183 deletions
|
@ -254,6 +254,10 @@ class MemoryBuffer(Buffer):
|
|||
self.elements = {}
|
||||
self.action = None
|
||||
|
||||
def clone(self):
|
||||
'''Produces an empty buffer that is a clone of this one.'''
|
||||
return MemoryBuffer(self.env, self.parent)
|
||||
|
||||
def addSubBuffer(self, subBuffer=None):
|
||||
sb = Buffer.addSubBuffer(self, subBuffer)
|
||||
self.content += ' ' # To avoid having several subbuffers referenced at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue