mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
configure.py: fix log message handling of r31896
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31908 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
36540df0f5
commit
ac3200a597
@ -249,11 +249,13 @@ def checkLatex(dtl_tools):
|
||||
|
||||
def checkModule(module):
|
||||
''' Check for a Python module, return the status '''
|
||||
msg = 'checking for "' + module + ' module"... '
|
||||
print 'checking for "' + module + ' module"... '
|
||||
try:
|
||||
__import__(module)
|
||||
print "yes"
|
||||
return True
|
||||
except ImportError:
|
||||
print "no"
|
||||
return False
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user