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:
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()