From ff06edb188e9d767e3262edfe753e081e2f55a24 Mon Sep 17 00:00:00 2001 From: Yitai Schwartz Date: Thu, 8 Aug 2019 16:14:14 +0300 Subject: [PATCH] Remove redundant call to xmlutil.cleanup xmlutil.cleanup may result in wrong url being created, and is redundant since lxml unescape these character anyway. --- jnpr/space/async.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jnpr/space/async.py b/jnpr/space/async.py index 4a3d412..ecf4047 100644 --- a/jnpr/space/async.py +++ b/jnpr/space/async.py @@ -212,7 +212,6 @@ def get_final_progress_update(self, pu_message): if response.status_code != 200: raise Exception("Failed in GET on %s" % job_pu_href) response_txt = xmlutil.get_text_from_response(response) - response_txt = xmlutil.cleanup(response_txt) return xmlutil.xml2obj(response_txt) def wait_for_tasks(self, task_id_list):