Also define MANIFEST on ImportError

(transplanted from 94d21268fc4a9d7014adb18bff82bfedafdd350f)
This commit is contained in:
Nicolas Évrard committed 2011-10-28 11:40:20 +02:00
1 parent d2622aad30
commit 3cf26d75cb
1 file changed
+1 -1
+1 -1
View File
@@ -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