mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
PEP8 E712 fixes (#21916)
This commit is contained in:
parent
5d39056379
commit
305c88700d
34 changed files with 103 additions and 123 deletions
|
@ -623,7 +623,7 @@ def normalize_image(image):
|
|||
def is_running(container):
|
||||
'''Return True if an inspected container is in a state we consider "running."'''
|
||||
|
||||
return container['State']['Running'] == True and not container['State'].get('Ghost', False)
|
||||
return container['State']['Running'] is True and not container['State'].get('Ghost', False)
|
||||
|
||||
|
||||
def get_docker_py_versioninfo():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue