Skip to content

Commit 5bb0739

Browse files
committed
Add more debug logging for metadata filter
1 parent e61c4f6 commit 5bb0739

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
# Get metadata
9292
all_commit = git_repo.iter_commits()
93-
all_apt_action_commit = filter(lambda x: (x.message[:12] == '[apt-action]'), all_commit)
93+
all_apt_action_commit = list(filter(lambda x: (x.message[:12] == '[apt-action]'), all_commit))
9494
apt_action_metadata_str = list(
9595
map(
9696
lambda x: re.findall('apt-action-metadata({.+})$', x.message),
@@ -99,6 +99,8 @@
9999
)
100100
apt_action_metadata = list(map(lambda x: json.loads(x[0]), apt_action_metadata_str))
101101

102+
logging.debug(list(all_commit))
103+
logging.debug(all_apt_action_commit)
102104
logging.debug(apt_action_metadata_str)
103105

104106
for check_metadata in apt_action_metadata:

0 commit comments

Comments
 (0)