Catch exception of reportlab is not loaded

svn: r720
This commit is contained in:
Don Allingham 2002-01-24 15:02:46 +00:00
parent 01da1ed611
commit 2934153d1e

View File

@ -85,6 +85,8 @@ except:
try:
import PdfDoc
_textdoc.append((_PDF, _has_tables, _paper, _styles))
except ImportError:
pass
except:
import traceback
traceback.print_exc()
@ -92,6 +94,8 @@ except:
try:
import PdfDrawDoc
_drawdoc.append(_PDF)
except ImportError:
pass
except:
import traceback
traceback.print_exc()