diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-27 17:18:33 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-28 12:05:29 +0200 |
| commit | 8986162047a558ffe2c4ec4a919b475751bf4945 (patch) | |
| tree | 26e92fa221c85195640703cc2f51d43b132687a2 /tools/snippets_translate/handlers.py | |
| parent | 46ab90a5f9493ba0687834e6fa83413ca2437ce5 (diff) | |
snippets_translate: Remove _L1, u string/character literals
Pick-to: 6.5
Task-number: PYSIDE-1106
Change-Id: I26ef6c9631c48c1bdde852e3bb3cd222ffec1260
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'tools/snippets_translate/handlers.py')
| -rw-r--r-- | tools/snippets_translate/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snippets_translate/handlers.py b/tools/snippets_translate/handlers.py index 9e590c536..34e969a62 100644 --- a/tools/snippets_translate/handlers.py +++ b/tools/snippets_translate/handlers.py @@ -521,7 +521,7 @@ def handle_useless_qt_classes(x): x = x[0:match.start()] + match.group(1) + x[match.end():] else: break - return x + return x.replace('"_L1', '"').replace("u'", "'") def handle_new(x): |
