Skip to content

Commit 40c342a

Browse files
fix return type
1 parent 89ab703 commit 40c342a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/galaxy/tool_util/linters/datatypes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def _parse_datatypes(datatype_conf_path: str) -> Set[str]:
2323
tree = parse_xml(datatype_conf_path)
2424
root = tree.getroot()
2525
for elem in root.findall("./registration/datatype"):
26-
extension = elem.get("extension")
26+
extension = elem.get("extension", "")
2727
datatypes.add(extension)
2828
auto_compressed_types = listify(elem.get("auto_compressed_types", ""))
2929
for act in auto_compressed_types:

0 commit comments

Comments
 (0)