Skip to content

Commit

Permalink
Merge branch 'maint/2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 9, 2021
2 parents 11c0531 + 046bf48 commit eccf578
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
v4.8.2
======

v2.1.2
======

* #353: Fixed discovery of distributions when path is empty.

v4.8.1
======

Expand Down
2 changes: 1 addition & 1 deletion importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def joinpath(self, child):

def children(self):
with suppress(Exception):
return os.listdir(self.root or '')
return os.listdir(self.root or '.')
with suppress(Exception):
return self.zip_children()
return []
Expand Down

0 comments on commit eccf578

Please sign in to comment.