Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed May 31, 2019
1 parent 06c2989 commit 4186ee1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions planemo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
)
from .io import error

PYTHON_2_7_COMMANDS = ["run", "cwl_script"]
IS_PYTHON_2_7 = sys.version_info[0] == 2 and sys.version_info[1] >= 7


CONTEXT_SETTINGS = dict(auto_envvar_prefix='PLANEMO')
COMMAND_ALIASES = {
Expand Down Expand Up @@ -143,9 +140,6 @@ def list_cmds():
filename.startswith('cmd_'):
rv.append(filename[len("cmd_"):-len(".py")])
rv.sort()
if not IS_PYTHON_2_7:
for command in PYTHON_2_7_COMMANDS:
rv.remove(command)
return rv


Expand Down

0 comments on commit 4186ee1

Please sign in to comment.