Skip to content

Commit

Permalink
drive-by env handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasheinrich committed Jan 14, 2018
1 parent 193c979 commit d5f632e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packtivity/syncbackends.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ def build_env(environment,parameters,state,pack_config):
except KeyError:
handler = env_handlers['default']['default']
return handler(environment,parameters,state)
#
# env = copy.deepcopy(environment)
# if environment['environment_type'] == 'docker-encapsulated':
# for i,x in enumerate(env['par_mounts']):
# script = x.pop('jqscript')
# x['mountcontent'] = jq.jq(script).transform(parameters, text_output = True)
#
# if env['workdir'] is not None:
# env['workdir'] = state.contextualize_value(env['workdir'])
# return env

def run_in_env(environment,job,state,metadata,pack_config):
'''
Expand Down

0 comments on commit d5f632e

Please sign in to comment.