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

Build function should not display python SyntaxWarning error message

XMLWordPrintable

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

      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: 

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

                Created:
                Updated:
                Resolved: