Skip to content

Commit 9441772

Browse files
committed
clean download.py
1 parent 2cc787d commit 9441772

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

qiita_pet/handlers/download.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,6 @@ def _write_nginx_file_list(self, to_download):
150150
for fp, fp_name, fp_checksum, fp_size in to_download])
151151

152152
self.set_header('X-Archive-Files', 'zip')
153-
with open("/tmp/stefan.log", "a") as f:
154-
f.write("üüüüüüüü all_files=%s\n" % all_files)
155-
156153
self.write("%s\n" % all_files)
157154

158155
def _set_nginx_headers(self, fname):
@@ -301,10 +298,6 @@ def get(self, study_id):
301298

302299
self._write_nginx_file_list(to_download)
303300

304-
with open("/logs/download.log", "a") as f:
305-
f.write("DownloadRawData::get(study_id=%s), to_download=%s\n" % (study_id, to_download))
306-
307-
308301
zip_fn = 'study_raw_data_%d_%s.zip' % (
309302
study_id, datetime.now().strftime('%m%d%y-%H%M%S'))
310303

0 commit comments

Comments
 (0)