def _out_file(fn, handle=logSys.debug):
 handle((('---- ' + fn) + ' ----'))
 for line in fileinput.input(fn):
  line = line.rstrip('\n')
  handle(line)
 handle(('-' * 30))

def _out_file ( fn , handle = logSys . debug ) : handle ( ( ( '---- ' + fn ) + ' ----' ) ) for line in fileinput . input ( fn ) : line = line . rstrip ( '\n' ) handle ( line ) handle ( ( '-' * 30 ) )
helper which outputs content of the file at heavydebug loglevels .