Commit e4a5bed3 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Python indentation cleanup broke code generation

parent 3fd821c2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@ http://www.gnu.org/software/libiconv for the list of possible encodings.
    <option type='string' id='PROJECT_NAME' format='string' docs='
The PROJECT_NAME tag is a single word (or sequence of words) that should 
identify the project. Note that if you do not use Doxywizard you need 
to put quotes around the project name if it contains spaces.' defval='My Project'/>
to put quotes around the project name if it contains spaces.' 
defval='My Project'/>
    <option type='string' id='PROJECT_NUMBER' format='string' docs='
The PROJECT_NUMBER tag can be used to enter a project or revision number. 
This could be handy for archiving the generated documentation or 
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ def parseOption(node):
	depends = node.getAttribute('depends')
	setting = node.getAttribute('setting')
	# replace \ by \\, replace " by \", and '  ' by a newline with end string and start string at next line
	docC	= doc.strip().replace('\\','\\\\').replace('"','\\"').replace('	 ','\\n"\n		   "')
	docC = doc.strip().replace('\\','\\\\').replace('"','\\"').replace('  ','\\n"\n\t\t\t"')
	if len(setting)>0:
		print "#if %s" % (setting)
	print "	 //----"
+1068 −253

File changed.

Preview size limit exceeded, changes collapsed.