Permalink
Browse files

Cleanup unused variable.

  • Loading branch information...
jmchilton committed Sep 21, 2016
1 parent ea5324f commit b6d829414ef71c799089800051da64a8a5e9c866
Showing with 0 additions and 2 deletions.
  1. +0 −2 planemo/tool_lint.py
@@ -26,7 +26,6 @@
def lint_tools_on_path(ctx, paths, lint_args, **kwds):
assert_tools = kwds.get("assert_tools", True)
recursive = kwds.get("recursive", False)
valid_tools = 0
exit_codes = []
for (tool_path, tool_xml) in yield_tool_sources_on_paths(ctx, paths, recursive):
if handle_tool_load_error(tool_path, tool_xml):
@@ -37,7 +36,6 @@ def lint_tools_on_path(ctx, paths, lint_args, **kwds):
error("Failed linting")
exit_codes.append(EXIT_CODE_GENERIC_FAILURE)
else:
valid_tools += 1
exit_codes.append(EXIT_CODE_OK)
return coalesce_return_codes(exit_codes, assert_at_least_one=assert_tools)

0 comments on commit b6d8294

Please sign in to comment.