Skip to content

Commit

Permalink
PipelineHandler reporting if run in devel mode
Browse files Browse the repository at this point in the history
closes #32
  • Loading branch information
Andreas WILM committed Oct 4, 2017
1 parent 1aa81b7 commit 45ef076
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ def __init__(self, pipeline_name, pipeline_subdir,
- def_args: argparser args. only default_argparser handled, i.e. must be subset of that
- logger_cmd: the logger command used in run.sh. bash's 'true' doesn't do anything. Uses downstream default with conf db-id if set to None and logging is on.
"""

if is_devel_version():
logger.info("Running in non-production mode")

self.pipeline_name = pipeline_name
self.pipeline_version = get_pipeline_version()# external function
Expand Down

0 comments on commit 45ef076

Please sign in to comment.