Commit f2f3e6e2 authored by di68kap's avatar di68kap
Browse files

- LOGGING constant at the beginning of dhparser added

parent 942766d4
......@@ -29,6 +29,8 @@ from DHParser.ebnf import get_ebnf_grammar, get_ebnf_transformer, get_ebnf_compi
from DHParser.log import logging
from DHParser.toolkit import re
dhparserdir = os.path.dirname(os.path.realpath(__file__))
EBNF_TEMPLATE = r"""-grammar
......@@ -325,7 +327,7 @@ def main():
print('File %s not found! Aborting.' % file_path)
elif choice.strip() == '3':
with logging(False):
with logging(LOGGING):
if not cpu_profile(selftest, 1):
print("Selftest FAILED :-(\n")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment