Permalink
Browse files

Fix citations linter for tools that actually have citations.

Thanks to @mr-c for the bug report, fixes #2.
  • Loading branch information...
jmchilton committed Oct 7, 2014
1 parent 388d01e commit af390612004dab636d8696839bb723d39f97c85d
Showing with 1 addition and 1 deletion.
  1. +1 −1 galaxy/tools/linters/citations.py
@@ -12,7 +12,7 @@ def lint_citations(tool_xml, lint_ctx):
return

valid_citations = 0
for citation in citations.children():
for citation in citations[0]:
if citation.tag != "citation":
lint_ctx.warn("Unknown tag discovered in citations block [%s], will be ignored." % citation.tag)
if "type" in citation.attrib:

0 comments on commit af39061

Please sign in to comment.