Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csmock: fix insufficient regex escaping in extra_build_repos() #143

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Dec 6, 2023

... to eliminate the following warning on Fedora 39:

% csmock -l
/usr/bin/csmock:180: SyntaxWarning: invalid escape sequence '\.'
  m = re.match("^.*/(.*\.module\\+el.*)\\.src\\.rpm$", srpm)
coverity        Proprietary static analyzer providing good signal-to-noise ratio for multiple programming languages.
gcc             Plugin capturing GCC warnings, optionally with customized compiler flags.

Reported-by: Lukáš Zaoral
Closes: #143

... to eliminate the following warning on Fedora 39:
```
% csmock -l
/usr/bin/csmock:180: SyntaxWarning: invalid escape sequence '\.'
  m = re.match("^.*/(.*\.module\\+el.*)\\.src\\.rpm$", srpm)
coverity        Proprietary static analyzer providing good signal-to-noise ratio for multiple programming languages.
gcc             Plugin capturing GCC warnings, optionally with customized compiler flags.
```

Reported-by: Lukáš Zaoral
Closes: csutils#143
@kdudka kdudka requested a review from lzaoral December 6, 2023 15:23
@kdudka kdudka self-assigned this Dec 6, 2023
Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was fast! 🚀

@kdudka
Copy link
Member Author

kdudka commented Dec 6, 2023

@lzaoral Thanks for review!

@kdudka kdudka merged commit 869b800 into csutils:main Dec 6, 2023
3 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants