From f3303f64b8c8cb0810da783b88487fec72091577 Mon Sep 17 00:00:00 2001 From: Matthias Feurer Date: Sun, 8 Oct 2017 21:25:25 +0200 Subject: [PATCH] FIX issue #281, do not write list of tasks to disk --- openml/tasks/functions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/openml/tasks/functions.py b/openml/tasks/functions.py index 243f779682..9043a50075 100644 --- a/openml/tasks/functions.py +++ b/openml/tasks/functions.py @@ -128,8 +128,6 @@ def list_tasks(task_type_id=None, offset=None, size=None, tag=None): def _list_tasks(api_call): xml_string = _perform_api_call(api_call) - with open('/tmp/list_tasks.xml', 'w') as fh: - fh.write(xml_string) tasks_dict = xmltodict.parse(xml_string) # Minimalistic check if the XML is useful if 'oml:tasks' not in tasks_dict: