Skip to content

Commit

Permalink
torch: linter fix
Browse files Browse the repository at this point in the history
Features: DfuseFind

Signed-off-by: Denis Barakhtanov <[email protected]>
  • Loading branch information
0xE0F committed Jan 20, 2025
1 parent d1e2f51 commit f19fe56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/pydaos/torch/torch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,15 +607,15 @@ def parallel_list(self, path=None,

queued = 0
processed = 0
for dir in self.split_dir_for_parallel_scan(path):
work.put(dir)
for anchored_dir in self.split_dir_for_parallel_scan(path):
work.put(anchored_dir)
queued += 1

while processed < queued:
(scanned, to_scan) = dirs.get()
processed += scanned
for dir in to_scan:
work.put(dir)
for d in to_scan:
work.put(d)
queued += 1

result = []
Expand Down

0 comments on commit f19fe56

Please sign in to comment.