Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .buildbot_dockerfile_debian
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:bullseye
FROM debian:latest
ARG CI_UID
RUN useradd -m -u ${CI_UID} ci
RUN apt-get update && \
apt-get -y install flake8 procps
apt-get -y install build-essential flake8 procps
WORKDIR /ci
RUN chown ${CI_UID}:${CI_UID} .
COPY --chown=${CI_UID}:${CI_UID} . .
CMD sh -x .buildbot.sh
CMD ["sh", "-x", ".buildbot.sh"]
4 changes: 2 additions & 2 deletions audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@


def should_skip_advisory(adv_tup):
assert(len(adv_tup) == 3)
assert len(adv_tup) == 3

# Look for an exact match.
expiry = None
Expand All @@ -74,7 +74,7 @@ def should_skip_advisory(adv_tup):
# Now try wildcard matching.
for (skip_tup, skip_expiry) in SKIP_ADVISORIES.items():
match_list = list(adv_tup)
assert(len(skip_tup) == 3)
assert len(skip_tup) == 3
for idx in range(len(skip_tup)):
if skip_tup[idx] == '*':
match_list[idx] = "*"
Expand Down