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 ddb0202ba7
commit e7b03615f0

View File

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