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
2 changes: 2 additions & 0 deletions mig/lib/janitor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
Expand Down Expand Up @@ -56,7 +56,7 @@
SECS_PER_HOUR = 60 * SECS_PER_MINUTE
SECS_PER_DAY = 24 * SECS_PER_HOUR

task_triggers = {}

Check failure on line 59 in mig/lib/janitor.py

View workflow job for this annotation

GitHub Actions / Style check python and annotate

Need type annotation for "task_triggers" (hint: "task_triggers: Dict[<type>, <type>] = ...") [var-annotated]


def _lookup_last_run(configuration, target):
Expand Down Expand Up @@ -287,6 +287,8 @@
else:
_logger.info("rejected invalid %r account request" % client_id)
elif reset_token:
# TODO: handle loaded user_dict == None here (e.g. recently removed)
# to avoid verify_reset_token failing on DN access.
valid_reset = verify_reset_token(
configuration, user_dict, reset_token, req_auth, req_timestamp
)
Expand Down
Loading