diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-03-02 09:14:25 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-03-02 11:38:25 +0000 |
commit | e48afcb0d6df296cbfd3d320640bc56d5aa85078 (patch) | |
tree | afcb5313cdb06ee670faba18cbb90a42572eb2d7 | |
parent | 67a91c57dd2221eb952e90db7c8755dd044877a6 (diff) |
snippets_translate: Fix syntax error
Amends 088acf9aec615372b297aab701757318e94b1fb5.
Task-number: PYSIDE-1106
Change-Id: I8b56874f5c686d11669b776f7398d0f9643e2bb5
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit 99f1b42b39bc6d0ef5cbef50e47c81eb24dfc994)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tools/snippets_translate/converter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snippets_translate/converter.py b/tools/snippets_translate/converter.py index c846d14ac..757d39abb 100644 --- a/tools/snippets_translate/converter.py +++ b/tools/snippets_translate/converter.py @@ -267,7 +267,7 @@ def snippet_translate(x): v = x.rstrip() if (not v.endswith(" True") and not v.endswith(" False") and not v.endswith(" None")): - x = f"{value}()" + x = f"{v}()" return dstrip(x) # For constructors, that we now the shape is: |