src/reportlab/graphics/renderbase.py
changeset 3233 9408fec15198
parent 3032 22224b1b4d24
child 3326 ce725978d11c
child 3467 4f25b3a34c5f
--- a/src/reportlab/graphics/renderbase.py	Thu Oct 01 10:52:36 2009 +0000
+++ b/src/reportlab/graphics/renderbase.py	Mon Oct 05 13:39:16 2009 +0000
@@ -245,6 +245,7 @@
 
         try:
             node = _expandUserNode(node,canvas)
+            if not node: return
             if hasattr(node,'_canvas'):
                 ocanvas = 1
             else:
@@ -290,6 +291,7 @@
         canvas = getattr(self,'_canvas',None)
         for node in group.getContents():
             node = _expandUserNode(node,canvas)
+            if not node: continue
 
             #here is where we do derived values - this seems to get everything. Touch wood.            
             self.fillDerivedValues(node)