diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-11-26 17:52:32 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-11-27 08:47:53 +0100 |
commit | 742a39962f1ba9c0e42f387394768c13793144c0 (patch) | |
tree | dcf7ec182145671b01ca11d7ff65386de344b745 /examples | |
parent | 37ff1a731a8c5e6d7b0370ad261739786b552c31 (diff) |
snippets_translate: Streamline writing files
The code created all example directories first and extracted the
snippets to .cpp files which were later moved to .py files to
overwrite the snippets in the repository (back then).
Write to the Python file directly and create the directory only when
needed. This removes a lot of empty directories.
Pick-to: 6.2
Task-number: PYSIDE-1721
Change-Id: I38e695db4aae386be18cd3b85708f684bfa228d5
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions