Skip to content

Commit

Permalink
appease flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Büchse <[email protected]>
  • Loading branch information
mbuechse committed Sep 17, 2024
1 parent 3ae725d commit 8912645
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compliance-monitor/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def import_cert_yaml(yaml_path, target_dict):
with open(yaml_path, "r") as fileobj:
spec = load_spec(yaml.load(fileobj.read()))
annotate_validity(spec['timeline'], spec['versions'], date.today())
target_dict[spec['uuid']] = precomputed_scope = PrecomputedScope(spec)
target_dict[spec['uuid']] = PrecomputedScope(spec)


def import_cert_yaml_dir(yaml_path, target_dict):
Expand All @@ -321,7 +321,6 @@ def get_scopes():
"""returns thread-local copy of the scopes dict"""
ident = get_ident()
with _scopes_lock:
yaml_path = _scopes['_yaml_path']
counter = _scopes['_counter']
current = _scopes.get(ident)
if current is None:
Expand Down

0 comments on commit 8912645

Please sign in to comment.