--- a/src/reportlab/platypus/doctemplate.py Wed Jun 29 09:57:21 2011 +0000
+++ b/src/reportlab/platypus/doctemplate.py Wed Jun 29 10:17:06 2011 +0000
@@ -781,7 +781,7 @@
else:
n = 0
if n:
- if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable,LIIndenter)):
+ if not isinstance(S[0],(PageBreak,SlowPageBreak,ActionFlowable,DDIndenter)):
if not frame.add(S[0], canv, trySplit=0):
ident = "Splitting error(n==%d) on page %d in\n%s\nS[0]=%s" % (n,self.page,self._fIdent(f,60,frame),self._fIdent(S[0],60,frame))
#leave to keep apart from the raise
--- a/src/reportlab/platypus/flowables.py Wed Jun 29 09:57:21 2011 +0000
+++ b/src/reportlab/platypus/flowables.py Wed Jun 29 10:17:06 2011 +0000
@@ -37,7 +37,7 @@
__all__=('TraceInfo','Flowable','XBox','Preformatted','Image','Spacer','PageBreak','SlowPageBreak',
'CondPageBreak','KeepTogether','Macro','CallerMacro','ParagraphAndImage',
'FailOnWrap','HRFlowable','PTOContainer','KeepInFrame','UseUpSpace',
- 'ListFlowable','ListItem','LIIndenter',
+ 'ListFlowable','ListItem','DDIndenter','LIIndenter',
'DocAssign', 'DocExec', 'DocAssert', 'DocPara', 'DocIf', 'DocWhile',
)
class TraceInfo: