mirror of
https://github.com/ansible/awx.git
synced 2026-08-06 13:00:05 -02:30
Use built-in suppress from contextlib
In python3, we can use the built-in suppress from contextlib https://docs.python.org/3/library/contextlib.html#contextlib.suppress
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from contextlib import suppress
|
||||
|
||||
from awxkit.api.pages import UnifiedJob
|
||||
from awxkit.api.resources import resources
|
||||
import awxkit.exceptions as exc
|
||||
from awxkit.utils import suppress
|
||||
from . import page
|
||||
from . import base
|
||||
|
||||
|
||||
Reference in New Issue
Block a user