def _html_tidy_runner(infile, options, executable='tidy5'):
 try:
  status = runinplace(((executable + ' ') + options), infile)
 except subprocess.CalledProcessError as err:
  status = (0 if (err.returncode == 1) else err.returncode)
 return status

def _html_tidy_runner ( infile , options , executable = 'tidy5' ) : try : status = runinplace ( ( ( executable + ' ' ) + options ) , infile ) except subprocess . CalledProcessError as err : status = ( 0 if ( err . returncode == 1 ) else err . returncode ) return status
run html tidy .