Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-06-26 05:30:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-26 05:33:19 +0300
commit646ef49e197d14e7717547a3f9ed119f5a79e2a8 (patch)
tree29daa5c9d2cc82dd6c7cd1112449558111d6f5d2 /release/datafiles
parent2db4a81fe4af0a003e545b6834c038eb7b704744 (diff)
Cleanup: use percentage formatting
`str.format` and `f-string` use was minimal. Prefer using a single style of string formatting unless an alternative is more widely adopted.
Diffstat (limited to 'release/datafiles')
-rwxr-xr-xrelease/datafiles/blender_icons_geom_update.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/datafiles/blender_icons_geom_update.py b/release/datafiles/blender_icons_geom_update.py
index 3b7724756db..5b95961ae6b 100755
--- a/release/datafiles/blender_icons_geom_update.py
+++ b/release/datafiles/blender_icons_geom_update.py
@@ -21,10 +21,10 @@ def edit_text_file(filename, marker_begin, marker_end, content):
while data[marker_end_index - 1] in {'\t', ' '}:
marker_end_index -= 1
if marker_begin_index == -1:
- print('Error: {!r} not found'.format(marker_begin))
+ print('Error: %r not found' % marker_begin)
return
if marker_end_index == -1:
- print('Error: {!r} not found'.format(marker_end))
+ print('Error: %r not found' % marker_end)
return
marker_begin_index += len(marker_begin) + 1
data_update = data[:marker_begin_index] + content + data[marker_end_index:]