From b3208ce26301829349258a563c07f9053f6b4314 Mon Sep 17 00:00:00 2001 From: Evgenii Alekseev Date: Fri, 20 Sep 2024 23:02:38 +0300 Subject: [PATCH] small improovements --- src/ahriman/core/alpm/pkgbuild_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ahriman/core/alpm/pkgbuild_parser.py b/src/ahriman/core/alpm/pkgbuild_parser.py index f88b64d7..dacb86b4 100644 --- a/src/ahriman/core/alpm/pkgbuild_parser.py +++ b/src/ahriman/core/alpm/pkgbuild_parser.py @@ -229,7 +229,7 @@ class PkgbuildParser(shlex.shlex): # find start and end positions start_position = end_position = -1 counter = 0 # simple processing of the inner "{" and "}" - while token := self.get_token(): + for token in self: match token: case _ if self._is_quoted(): continue