From c8dab1aac421ab8d92720bf7994251aca19fb0ef Mon Sep 17 00:00:00 2001 From: eribeiro Date: Wed, 25 Nov 2020 12:33:37 -0300 Subject: [PATCH] =?UTF-8?q?Remo=C3=A7=C3=A3o=20de=20linhas=20de=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/solr_api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docker/solr_api.py b/docker/solr_api.py index e31df081b..3ca06bba7 100755 --- a/docker/solr_api.py +++ b/docker/solr_api.py @@ -95,10 +95,6 @@ class SolrClient: data = configset_zip.getvalue() configset_zip.close() - #DEBUG - with open('teste.zip', 'wb') as f: - f.write(data) - files = {'file': ('saplconfigset.zip', data, 'application/octet-stream', @@ -109,7 +105,6 @@ class SolrClient: resp = requests.post(req_url, files=files) print(resp.content) - configset_zip.close() else: print('O %s já presente no servidor, NÃO enviando.' % self.CONFIGSET_NAME)