Skip to content

Commit

Permalink
another typing fix elsewhere in misc
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Sep 11, 2024
1 parent 8e754fb commit 7fc7e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/misc/replace_dot_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ def walkdir_replace_dot_all(dir, file_regex=r'.*[.](py|pyx|pxi)$', package_regex
finally:
# Print report also when interrupted
if verbosity:
log_messages = sorted(log_messages.rstrip().split('\n'))
for i, message in enumerate(log_messages, start=1):
log_messages_split = sorted(log_messages.rstrip().split('\n'))
for i, message in enumerate(log_messages_split, start=1):
# add index to each line
print(f'{i}. {message.rstrip()}')
report = 'REPORT:\n'
Expand Down

0 comments on commit 7fc7e9b

Please sign in to comment.