https://bugs.kde.org/show_bug.cgi?id=489526

Halla Rempt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/-/commit/5d44af2 |hics/krita/-/commit/1b4ccb7
                   |77b005692241a09f30e11bb0d16 |8728681da06d0232daddf686174
                   |166823                      |684561

--- Comment #5 from Halla Rempt <[email protected]> ---
Git commit 1b4ccb78728681da06d0232daddf686174684561 by Halla Rempt, on behalf
of Freya Lupen.
Committed on 08/07/2025 at 08:44.
Pushed by rempt into branch 'krita/5.2'.

Fix Python invalid escape sequence warnings

If Python finds a string with an invalid backslash escape such as '\*',
it will throw a Syntax or Deprecation warning. In the future this will
become an error. The fix is to use a raw string r'\*' instead, which
won't attempt to interpolate the escape sequences in the regexes.
(cherry picked from commit 5d44af277b005692241a09f30e11bb0d16166823)

M  +3    -3   
plugins/python/comics_project_management_tools/comics_exporter.py
M  +2    -2   
plugins/python/comics_project_management_tools/exporters/CPMT_ACBF_XML_Exporter.py
M  +4    -4   
plugins/python/comics_project_management_tools/exporters/CPMT_po_parser.py
M  +1    -1    plugins/python/scripter/ui_scripter/editor/pythoneditor.py
M  +4    -4    plugins/python/scripter/ui_scripter/syntax/syntax.py

https://invent.kde.org/graphics/krita/-/commit/1b4ccb78728681da06d0232daddf686174684561

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to