src/reportlab/graphics/renderPM.py
branchpy33
changeset 3763 d079e73fb7b0
parent 3723 99aa837b6703
child 3765 a7e7cd6e0003
equal deleted inserted replaced
3762:4817e577522d 3763:d079e73fb7b0
    23     pass
    23     pass
    24 
    24 
    25 import string, os, sys
    25 import string, os, sys
    26 
    26 
    27 try:
    27 try:
    28     import _renderPM
    28     from reportlab.graphics import _renderPM
    29 except ImportError as errMsg:
    29 except ImportError as errMsg:
    30     raise ImportError("No module named _renderPM\n" + \
    30     raise ImportError("No module named _renderPM\n" + \
    31         (str(errMsg)!='No module named _renderPM' and "it may be the wrong version or badly installed!" or
    31         (str(errMsg)!='No module named _renderPM' and "it may be the wrong version or badly installed!" or
    32                                     "see https://www.reportlab.com/software/opensource/rl-addons/"))
    32                                     "see https://www.reportlab.com/software/opensource/rl-addons/"))
    33 
    33