mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Double Thinko :-/
This commit is contained in:
parent
c3001fba5c
commit
7c8f4d57a7
@ -1059,11 +1059,11 @@ def processLayoutFile(file, bool_docbook):
|
|||||||
prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
|
prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
|
||||||
prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype]
|
prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype]
|
||||||
classdeclaration = '"%s" "%s" "%s" "%s" "%s"' % (classname, opt, desc, avai, prereq)
|
classdeclaration = '"%s" "%s" "%s" "%s" "%s"' % (classname, opt, desc, avai, prereq)
|
||||||
if categorydeclaration != "":
|
if categorydeclaration != '""':
|
||||||
return classdeclaration + " " + categorydeclaration
|
return classdeclaration + " " + categorydeclaration
|
||||||
if qres != None:
|
if qres != None:
|
||||||
categorydeclaration = '"%s"' % (qres.groups()[0])
|
categorydeclaration = '"%s"' % (qres.groups()[0])
|
||||||
if classdeclaration != '""':
|
if classdeclaration != "":
|
||||||
return classdeclaration + " " + categorydeclaration
|
return classdeclaration + " " + categorydeclaration
|
||||||
if classdeclaration != "":
|
if classdeclaration != "":
|
||||||
return classdeclaration + " " + categorydeclaration
|
return classdeclaration + " " + categorydeclaration
|
||||||
|
Loading…
Reference in New Issue
Block a user