This commit is contained in:
Juergen Spitzmueller 2012-10-09 11:12:54 +02:00
parent 2c88159576
commit c3001fba5c

View File

@ -1063,7 +1063,7 @@ def processLayoutFile(file, bool_docbook):
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