Skip to content

Commit

Permalink
Only render the message if files was updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 4, 2024
1 parent 88182cc commit 90d3283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Lib/zipimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,9 @@ def _read_directory(archive):
_bootstrap._verbose_message('zipimport: found {} names in {!r}', count, archive)

add_count = _add_implicit_dirs(files)
_bootstrap._verbose_message('zipimport: added {} implicit directories in {!r}',
add_count, archive)

if add_count:
_bootstrap._verbose_message('zipimport: added {} implicit directories in {!r}',
add_count, archive)

return files

Expand Down

0 comments on commit 90d3283

Please sign in to comment.