mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-13 14:05:47 +00:00
small improovements
This commit is contained in:
@ -229,7 +229,7 @@ class PkgbuildParser(shlex.shlex):
|
|||||||
# find start and end positions
|
# find start and end positions
|
||||||
start_position = end_position = -1
|
start_position = end_position = -1
|
||||||
counter = 0 # simple processing of the inner "{" and "}"
|
counter = 0 # simple processing of the inner "{" and "}"
|
||||||
while token := self.get_token():
|
for token in self:
|
||||||
match token:
|
match token:
|
||||||
case _ if self._is_quoted():
|
case _ if self._is_quoted():
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user