Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-5782

Build function should not display python SyntaxWarning error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Normal
    • None
    • quay-v3.9.0
    • quay-builder
    • False
    • None
    • False
    • 0

    Description

      Description of problem:

      When run build function in quay 3.9,  got  SyntaxWarning error message in quay logs. These errors don't affect build function, but it is better to fix them. 

      builder stderr | /app/lib/python3.9/site-packages/magic.py:193: SyntaxWarning: "is" with a literal. Did you mean "=="?
      builder stderr |   if result is -1: 

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhwhu Weihua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: