Skip to content

Commit

Permalink
Fix compat (#1666)
Browse files Browse the repository at this point in the history
From python docs: 

```
Note: In Python 3.11 and later, this class is found in importlib.resources.abc.
```
  • Loading branch information
NilashishC authored Feb 6, 2024
1 parent ba3cdfc commit 3b0c0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansible_navigator/utils/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import importlib.metadata as importlib_metadata


if sys.version_info < (3, 12):
if sys.version_info < (3, 11):
from importlib.abc import Traversable
else:
from importlib.resources.abc import Traversable

0 comments on commit 3b0c0fb

Please sign in to comment.