Skip to content

Commit

Permalink
Dont generate parset.out debugging file in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
frankobe committed Jun 9, 2017
1 parent a14ad20 commit 34df5f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions flanker/addresslib/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,23 +159,23 @@ def p_error(p):

log.info('building mailbox parser')
mailbox_parser = yacc.yacc(
start='mailbox', errorlog=log)
start='mailbox', errorlog=log, debug=False)

log.info('building addr_spec parser')
addr_spec_parser = yacc.yacc(
start='addr_spec', errorlog=log)
start='addr_spec', errorlog=log, debug=False)

log.info('building url parser')
url_parser = yacc.yacc(
start='url', errorlog=log)
start='url', errorlog=log, debug=False)

log.info('building mailbox_or_url parser')
mailbox_or_url_parser = yacc.yacc(
start='mailbox_or_url', errorlog=log)
start='mailbox_or_url', errorlog=log, debug=False)

log.info('building mailbox_or_url_list parser')
mailbox_or_url_list_parser = yacc.yacc(
start='mailbox_or_url_list', errorlog=log)
start='mailbox_or_url_list', errorlog=log, debug=False)


# Interactive prompt for easy debugging
Expand Down

0 comments on commit 34df5f5

Please sign in to comment.