Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cee6bb5

Browse files
committed
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
1 parent 23457f1 commit cee6bb5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/modulefinder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626

2727
# A Public interface
2828
def AddPackagePath(packagename, path):
29-
paths = packagePathMap.setdefault(packagename, []).append(path)
30-
packagePathMap[packagename] = paths
29+
packagePathMap.setdefault(packagename, []).append(path)
3130

3231
replacePackageMap = {}
3332

0 commit comments

Comments
 (0)