Skip to content
Commit e8055a56 authored by Chandan Singh's avatar Chandan Singh Committed by Chandan Singh
Browse files

buildstream/utils.py: Fix regex Deprecation Warning

Specify flags at the start of the expression as per the recommendation
of the standard library.

Without this patch, we currently get the following warning:

```
tests/examples/junctions.py::test_open_cross_junction_workspace
  /builds/BuildStream/buildstream/dist/buildstream/buildstream/utils.py:213: DeprecationWarning: Flags not at the start of the expression '\\/[^/]*\\Z(?ms)'
    regexer = re.compile(expression)
```
parent c05d8b4f
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment