[elbe-devel] [PATCH 4/5] elbepack: elbeproject: fix missing whitespace after ', '

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Jun 13 14:21:21 CEST 2024


Newer versions of flake8/Python are able to analyze
f-string format placeholders.
Fix the flake8 violation in them.

E231 missing whitespace after ','

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/elbeproject.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index a0b29d8a047a..1715bb4283c4 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -695,13 +695,13 @@ class ElbeProject:
         # Remove pbuilder/result directory
         do(
             f'rm -rf "{os.path.join(self.builddir, "pbuilder", "result")}" '
-            f'"{os.path.join(self.builddir, "pbuilder_cross","result")}"')
+            f'"{os.path.join(self.builddir, "pbuilder_cross", "result")}"')
 
         # Recreate the directories removed
         if os.path.exists(os.path.join(self.builddir, 'pbuilder_cross')):
             do(
                 'mkdir -p '
-                f'"{os.path.join(self.builddir, "pbuilder_cross","result")}"')
+                f'"{os.path.join(self.builddir, "pbuilder_cross", "result")}"')
         else:
             do(
                 'mkdir -p '

-- 
2.45.2



More information about the elbe-devel mailing list