Skip to content

Commit

Permalink
fixed untyped defs in cloudinit analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulganiyy authored and abdulganiyy committed Oct 15, 2024
1 parent 8cefa0d commit dff9d52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudinit/analyze/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from cloudinit.atomic_helper import json_dumps


def get_parser(parser: argparse.ArgumentParser = None) -> : argparse.ArgumentParser:
def get_parser(parser: argparse.ArgumentParser = None) -> argparse.ArgumentParser:
if not parser:
parser = argparse.ArgumentParser(
prog="cloudinit-analyze",
Expand Down
2 changes: 1 addition & 1 deletion cloudinit/analyze/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def generate_records(
stage_start_time = {}
boot_records = []

unprocessed: List[Dict[str, Union[str, float]]] = []
unprocessed = []
for e in range(len(sorted_events)):
event = events[e]
try:
Expand Down

0 comments on commit dff9d52

Please sign in to comment.