def dump_mrjob_conf(conf, f):
 if yaml:
  _dump_yaml_with_clear_tags(conf, f, default_flow_style=False)
 else:
  json.dump(conf, f, indent=2)
 f.flush()

def dump_mrjob_conf ( conf , f ) : if yaml : _dump_yaml_with_clear_tags ( conf , f , default_flow_style = False ) else : json . dump ( conf , f , indent = 2 ) f . flush ( )
write out configuration options to a file .