def VaOutput(format, args):
 text = (format % args)
 if (_Level > 0):
  indent = (' DCTB ' * _Level)
  lines = text.split('\n')
  for i in range(len(lines)):
   if (lines[i] and (lines[i][0] != '#')):
    lines[i] = (indent + lines[i])
  text = '\n'.join(lines)
 _File.write((text + '\n'))

def VaOutput ( format , args ) : text = ( format % args ) if ( _Level > 0 ) : indent = ( ' DCTB ' * _Level ) lines = text . split ( '\n' ) for i in range ( len ( lines ) ) : if ( lines [ i ] and ( lines [ i ] [ 0 ] != '#' ) ) : lines [ i ] = ( indent + lines [ i ] ) text = '\n' . join ( lines ) _File . write ( ( text + '\n' ) )
call this with a format string and argument tuple for the format .