Skip to content

Commit eccf578

Browse files
committed
Merge branch 'maint/2.x'
2 parents 11c0531 + 046bf48 commit eccf578

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGES.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
v4.8.2
2+
======
3+
4+
v2.1.2
5+
======
6+
7+
* #353: Fixed discovery of distributions when path is empty.
8+
19
v4.8.1
210
======
311

importlib_metadata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ def joinpath(self, child):
777777

778778
def children(self):
779779
with suppress(Exception):
780-
return os.listdir(self.root or '')
780+
return os.listdir(self.root or '.')
781781
with suppress(Exception):
782782
return self.zip_children()
783783
return []

0 commit comments

Comments
 (0)