Skip to content

Commit fceacd1

Browse files
committed
Fix minor typo
1 parent cc8621c commit fceacd1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

entrypoint.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,11 @@
9191
# Get metadata
9292
all_commit = git_repo.iter_commits()
9393
all_apt_action_commit = filter(lambda x: (x.message[:12] == '[apt-action]'), all_commit)
94-
apt_action_metadata_str = map(lambda x: re.findall('apt-action-metadata({.+})$', x.message))
95-
apt_action_metadata = map(lambda x: json.loads(x[0]))
94+
apt_action_metadata_str = map(
95+
lambda x: re.findall('apt-action-metadata({.+})$', x.message),
96+
all_apt_action_commit,
97+
)
98+
apt_action_metadata = map(lambda x: json.loads(x[0]), apt_action_metadata_str)
9699

97100
logging.debug(apt_action_metadata)
98101

0 commit comments

Comments
 (0)