From 7c0823ad76e0b38dd31df59eccd0e3d7e0e3a4e0 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 10 Mar 2018 20:19:13 +0100 Subject: [PATCH] Remove comment in fabfile --- fabfile.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/fabfile.py b/fabfile.py index 61a8c30ab..cbf1e9239 100644 --- a/fabfile.py +++ b/fabfile.py @@ -24,20 +24,6 @@ def virtualenv(name, create=False, python='/usr/bin/python3.6'): def wrapped_local(cmd, env_vars=[], capture=False, direct=False): return local('source {}/bin/activate && {}'.format(env_path, cmd), shell='/bin/bash', capture=False) - #env_vars = ' '.join(env_vars) - #if cmd.split()[0] == 'python': - # cmd = cmd.replace('python', str(env_py)) - # return local(env_vars + ' ' + cmd, capture=capture) - #elif direct: - # cmd, args = cmd.split(' ', 1) - # env_cmd = str(env_py).replace('python', cmd) - # return local('{env_vars} {env_cmd} {args}'.format( - # env_cmd=env_cmd, args=args, env_vars=env_vars), - # capture=capture) - #else: - # return local('{env_vars} {env_py} -m {cmd}'.format( - # env_py=env_py, cmd=cmd, env_vars=env_vars), - # capture=capture) yield wrapped_local