~widelands-dev/widelands/trunk

« back to all changes in this revision

Viewing changes to cmake/codecheck/rules/contrived_std_string_find.py

  • Committer: The Widelands Bunnybot
  • Date: 2023-10-16 09:38:35 UTC
  • Revision ID: bunnybot@widelands.org-20231016093835-uy3ljxfl8zxybpwu
Python files require python3 explicitly (CB #4529 / GH #6187)
Co-authored-by: Benedikt Straub <benedikt-straub@web.de>
Co-committed-by: Benedikt Straub <benedikt-straub@web.de>

(by bunnybot)
f73563aa1c3f790f9ee3b62bdcbf5e77a531dda1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
 
1
#!/usr/bin/python3
2
2
 
3
3
 
4
4
"""Do not call std::string::find_first_of or std::string::find with a string of