From 2934153d1e6757137f2518350dc4993b4701da78 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 24 Jan 2002 15:02:46 +0000 Subject: [PATCH] Catch exception of reportlab is not loaded svn: r720 --- src/FindDoc.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FindDoc.py b/src/FindDoc.py index f5e53d918..acd907d70 100644 --- a/src/FindDoc.py +++ b/src/FindDoc.py @@ -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()