Skip to content

SyntaxWarning: "is not" with a literal #11

@TristisOris

Description

@TristisOris

fresh installation.
docker exec -t waldur-mastermind-worker status

INFO: Running Mastermind status check...
/usr/local/lib/python3.11/site-packages/glanceclient/common/http.py:171: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if kwargs.get('cacert', None) is not '':
Checking Waldur MasterMind services...
 - Database PostgreSQL connection            [OK]
 - Task runners (Celery workers)             [OK]
 - Queue and cache server (Redis) connection [OK]
API endpoints check skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions