Skip to content

Commit d04d163

Browse files
authored
Merge pull request #322 from openml/fix_#281
FIX issue #281, do not write list of tasks to disk
2 parents 9eedb90 + f3303f6 commit d04d163

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

openml/tasks/functions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ def list_tasks(task_type_id=None, offset=None, size=None, tag=None):
128128

129129
def _list_tasks(api_call):
130130
xml_string = _perform_api_call(api_call)
131-
with open('/tmp/list_tasks.xml', 'w') as fh:
132-
fh.write(xml_string)
133131
tasks_dict = xmltodict.parse(xml_string)
134132
# Minimalistic check if the XML is useful
135133
if 'oml:tasks' not in tasks_dict:

0 commit comments

Comments
 (0)