We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82bc4c2 commit e61c4f6Copy full SHA for e61c4f6
entrypoint.py
@@ -91,11 +91,13 @@
91
# Get metadata
92
all_commit = git_repo.iter_commits()
93
all_apt_action_commit = filter(lambda x: (x.message[:12] == '[apt-action]'), all_commit)
94
- apt_action_metadata_str = map(
95
- lambda x: re.findall('apt-action-metadata({.+})$', x.message),
96
- all_apt_action_commit,
+ apt_action_metadata_str = list(
+ map(
+ lambda x: re.findall('apt-action-metadata({.+})$', x.message),
97
+ all_apt_action_commit,
98
+ )
99
)
- apt_action_metadata = map(lambda x: json.loads(x[0]), apt_action_metadata_str)
100
+ apt_action_metadata = list(map(lambda x: json.loads(x[0]), apt_action_metadata_str))
101
102
logging.debug(apt_action_metadata_str)
103
0 commit comments