From: Luke Kenneth Casson Leighton Date: Fri, 25 Aug 2023 18:57:17 +0000 (+0100) Subject: fix syntax error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d9a5aa39902f4a9b8d9b3c17a54f9342b037baa;p=utils.git fix syntax error --- diff --git a/src/budget_sync/main.py b/src/budget_sync/main.py index a1e7c72..e4a7359 100644 --- a/src/budget_sync/main.py +++ b/src/budget_sync/main.py @@ -231,7 +231,7 @@ def json_milestones(budget_graph: BudgetGraph, add_comments: bool, # has only the "summary description" but the rest may # be used for "TODO" lists l = line.strip() - if len(l) >= 2 and l == "-" * len(l) \ + if len(l) >= 2 and l == "-" * len(l): lines[i:] = [] break comment += "\n".join(lines)