[elbe-devel] [PATCH v3 25/75] barebox: use f-strings

Daniel Braunwarth daniel at braunwarth.dev
Sun Nov 6 22:12:04 CET 2022


Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
 elbepack/debianize/panels/barebox.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/debianize/panels/barebox.py b/elbepack/debianize/panels/barebox.py
index 3b83a7118..aac862437 100644
--- a/elbepack/debianize/panels/barebox.py
+++ b/elbepack/debianize/panels/barebox.py
@@ -61,5 +61,5 @@ class BareBox(Panel):
         copyfile(os.path.join(self.tmpl_dir, 'barebox-tools.install'),
                  'debian/barebox-tools-' + pkg_name + '.install')
 
-        self.hint = "use 'dpkg-buildpackage -a%s' to build the package" % (
-            self.deb['p_arch'])
+        self.hint = (f"use 'dpkg-buildpackage -a{self.deb['p_arch']}' "
+                     "to build the package")
-- 
2.38.1



More information about the elbe-devel mailing list