X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fconfigure.py;h=58234c0d5a454443fe4b22481c4dec3205af0104;hb=c40bd7eccb3fb28323937c2000c87075fb60205b;hp=ea0bbab1f05282cb31f4f9c3101208e87a5683fc;hpb=f18af303fe2f9dca05beae7852f3904ac4bfddba;p=lyx.git diff --git a/lib/configure.py b/lib/configure.py index ea0bbab1f0..58234c0d5a 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1059,7 +1059,7 @@ def processLayoutFile(file, bool_docbook): prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook] prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype] classdeclaration = '"%s" "%s" "%s" "%s" "%s"' % (classname, opt, desc, avai, prereq) - if categorydeclaration != "": + if categorydeclaration != '""': return classdeclaration + " " + categorydeclaration if qres != None: categorydeclaration = '"%s"' % (qres.groups()[0])