Skip to content

Commit

Permalink
report from an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyrp committed Apr 13, 2018
1 parent ee22e18 commit 8d95ca8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner/importer.py
Expand Up @@ -38,6 +38,7 @@
'call_reporter. remove them from %s (or its submodules) or use'+\
'"_acme_silence = False" before "exec(acme_submodulator)" in your __init__.py'

import os
from acme import read_config,get_path_to_module

def get_extras(extensions):
Expand Down Expand Up @@ -83,7 +84,7 @@ def get_extras(extensions):
str_types = [str] if (sys.version_info>(3,0)) else [str,unicode]

#---settings
verbose = False
verbose = os.environ.get('AMX_REPORT',False) not in [0,'False',False]
event_log = {}
verbose_pedantic = False
protected_signals = ['_not_all','_not_reported']
Expand Down

0 comments on commit 8d95ca8

Please sign in to comment.