Skip to content

Commit ac28514

Browse files
jason-raitzawilfox
andauthored
Update tind_client/client.py
Co-authored-by: Anna Wilcox <AWilcox@Wilcox-Tech.com>
1 parent 1919ad6 commit ac28514

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tind_client/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ def write_search_results_to_file(self, query: str = "", output_file_name: str =
191191

192192
total_hits = len(self.fetch_ids_search(query))
193193
if total_hits == 0:
194-
# Q: Should we raise an error if there are no records found, or return 0 for zero records written?
195-
# raise RecordNotFoundError("No records found for the given query.")
196194
return 0
197195

198196
recs_written = 0

0 commit comments

Comments
 (0)