build: use python f-strings
Change-Id: I17695613bb737ac4ba297468c5859ceb18bfdf96
diff --git a/examples/wscript b/examples/wscript
index 1073033..462fda7 100644
--- a/examples/wscript
+++ b/examples/wscript
@@ -6,7 +6,7 @@
# List all .cpp files (whole example in one .cpp)
for ex in bld.path.ant_glob('*.cpp'):
name = ex.change_ext('').path_from(bld.path.get_bld())
- bld.program(name='example-%s' % name,
+ bld.program(name=f'example-{name}',
target=name,
source=[ex],
use='ndn-cxx',
@@ -15,7 +15,7 @@
# List all directories (example can have multiple .cpp in the directory)
for subdir in bld.path.ant_glob('*', dir=True, src=False):
name = subdir.path_from(bld.path)
- bld.program(name='example-%s' % name,
+ bld.program(name=f'example-{name}',
target=name,
source=subdir.ant_glob('**/*.cpp'),
use='ndn-cxx',