Skip to content

Commit

Permalink
Update versions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Nov 19, 2023
1 parent 6b15f39 commit b790615
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions aiohttp_debugtoolbar/panels/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ def get_packages(cls) -> List[Dict[str, str]]:
if VersionDebugPanel.packages:
return VersionDebugPanel.packages

if Distribution is None:
return () # type: ignore[unreachable]

packages = []
for distribution in Distribution.discover():
name = distribution.metadata["Name"]
Expand Down

0 comments on commit b790615

Please sign in to comment.