From 3cf26d75cb93db7b2dd86c5d8ffda3159d4f390e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Fri, 28 Oct 2011 11:40:20 +0200 Subject: [PATCH] Also define MANIFEST on ImportError (transplanted from 94d21268fc4a9d7014adb18bff82bfedafdd350f) --- trytond/report/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trytond/report/report.py b/trytond/report/report.py index 37859e0d7b..be9b14e8c4 100644 --- a/trytond/report/report.py +++ b/trytond/report/report.py @@ -21,7 +21,7 @@ warnings.resetwarnings() try: from relatorio.templates.opendocument import Manifest, MANIFEST except ImportError: - Manifest = None + Manifest, MANIFEST = None, None from genshi.filters import Translator import lxml.etree from trytond.config import CONFIG