Skip to content

Bug - Python detector outputs version input and pattern reversed

Description

The Python detector service in the worker outputs a strange message if it warns about an unknown Python version:

[2021-02-25 11:07:33,083] [PythonDetector] [WARN ] ^Python (\d+)\.(\d+)\.(\d+).* does not match version pattern , skipping

The input (where the double spaces are) and the pattern are reversed.

Priority

Low - purely cosmetic

Definition of done

When the input and pattern are output in the correct order.