Skip to content
This repository was archived by the owner on Sep 5, 2022. It is now read-only.

Commit 4730c52

Browse files
committed
more on "support importing attachments stored on disk"
1 parent 13521f0 commit 4730c52

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

youtrackutils/mantis/mantisClient.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,8 @@ def get_attachments(self, bug_id):
223223
attachment.author = self.get_user_by_id(row[user_id_row])
224224
attachment.date_added = self._to_epoch_time(row[date_added_row])
225225
if row[content_row] and not row[diskfile_row]:
226-
print "GET CONTENT FROM DB"
227226
attachment.content = row[content_row]
228227
else:
229-
print "GET CONTENT FROM DISK"
230228
file_path = row[folder_row].rstrip("/") + "/" + row[diskfile_row]
231229
with open(file_path.encode('utf-8')) as f:
232230
attachment.content = f.read()

0 commit comments

Comments
 (0)