fix: Python 2.7 blah foo.

pull/362/head
Raphaël Vinot 2019-02-27 23:43:49 -08:00
parent ece54a942b
commit 0d6aa428ef
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ try:
# Let's not bother with python 2
try:
from .tools import reportlab_generator # noqa
except ImportError:
# FIXME: The import should not raise an exception if reportlab isn't installed
pass
except NameError:
# FIXME: The import should not raise an exception if reportlab isn't installed
pass