From 8dc1f6b039ef88395ecd53377a6d3a8aa94e684f Mon Sep 17 00:00:00 2001 From: Serhii Maltsev Date: Tue, 11 Feb 2025 12:41:05 +0100 Subject: [PATCH] fix broken f-string formatting and broken python make edits call --- Makefile | 2 +- scripts/developer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f75b82c..038e336 100644 --- a/Makefile +++ b/Makefile @@ -135,7 +135,7 @@ build: cd $(cf_source_dir) && ./mach build $(_ARGS) edits: - python ./scripts/developer.py $(version) $(release) + python3 ./scripts/developer.py $(version) $(release) check-arch: @if ! echo "x86_64 i686 arm64" | grep -qw "$(arch)"; then \ diff --git a/scripts/developer.py b/scripts/developer.py index 903ca91..79fbdb0 100644 --- a/scripts/developer.py +++ b/scripts/developer.py @@ -208,7 +208,7 @@ def handle_choice(choice): '\n'.join( sorted( ( - f'{v}\t{k[len("../patches/"):-len('.patch')]}' + f'{v}\t{k[len("../patches/"):-len(".patch")]}' for k, v in apply_dict.items() ), reverse=True,