Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #342 from dephell/fix-insect-self
Browse files Browse the repository at this point in the history
fix versions lookup for `dephell inspect self`
  • Loading branch information
orsinium committed Dec 19, 2019
2 parents c527c10 + acbb08f commit db3d3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dephell/converters/installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def load_resolver(self, path=None, paths=None):
def load(self, path: Union[Path, str] = None, paths: Iterable[Union[Path, str]] = None,
names: Iterable[str] = None) -> RootDependency:
if names:
names = {canonicalize_name(name).replace('-', '_') for name in names}
names = {canonicalize_name(name) for name in names}

if paths is None:
if path is not None:
Expand Down

0 comments on commit db3d3c2

Please sign in to comment.