[pod] Bugfix for https://bugs.launchpad.net/appy/+bug/1328139.
This commit is contained in:
parent
f8f3c0e865
commit
f7eaed817e
2 changed files with 12 additions and 10 deletions
|
@ -285,7 +285,7 @@ class MemoryBuffer(Buffer):
|
|||
return res
|
||||
|
||||
def isMainElement(self, elem):
|
||||
'''Is p_elem the main elemen within this buffer?'''
|
||||
'''Is p_elem the main element within this buffer?'''
|
||||
mainElem = self.getMainElement()
|
||||
if not mainElem: return
|
||||
if hasattr(mainElem, 'OD'): mainElem = mainElem.OD.elem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue