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

Skip to content

Commit fc26c2e

Browse files
author
anki-code
committed
fix +L
1 parent 090c08d commit fc26c2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎xxh_xxh/xxh.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,9 @@ def packages_reinstall(self, packages):
489489
return self.packages_install(packages)
490490

491491
def packages_list(self, packages=None):
492-
packages_dir = (self.local_xxh_home / '.xxh').glob('**/xxh-*')
492+
packages_dir = []
493+
for p in self.supported_xxh_packages:
494+
packages_dir += (self.local_xxh_home / '.xxh' / (p+'s')).glob('xxh-*')
493495
found = 0
494496
for p in sorted(packages_dir):
495497
if packages:

0 commit comments

Comments
 (0)