Kaydet (Commit) 6e0d7ce9 authored tarafından Marco Cecchetti's avatar Marco Cecchetti

Now debug printers are turned off automatically

üst fec47cf7
......@@ -80,8 +80,13 @@ for line in in_lines:
is_multiline_comment = True
continue
# disable any debug printer
dline = line.replace( 'NAVDBG.on', 'NAVDBG.off' )
dline = dline.replace( 'ANIMDBG.on', 'ANIMDBG.off' )
dline = dline.replace( 'DebugPrinter.on', 'DebugPrinter.off' )
# append a 4 spaces indentation to each line
escaped_line = ' %s' % line
escaped_line = ' %s' % dline
escaped_line = escaped_line.rstrip()
# no more than 2 consecutive empty lines
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment