Skip to content

Commit 308608f

Browse files
committed
Fix usused circuits variable
1 parent a1211c3 commit 308608f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

circuit_maintenance_parser/parser.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ def _get_account(self, generated_json: dict):
500500

501501
return account
502502

503-
def _get_maintenance_id(self, generated_json: dict, start, end, circuits):
503+
def _get_maintenance_id(self, generated_json: dict, start, end):
504504
"""Method to get the Maintenance ID."""
505505
maintenance_key = self.get_key_with_string(generated_json, "maintenance")
506506
if maintenance_key and generated_json["maintenance_id"] != "N/A":
@@ -539,7 +539,6 @@ def parse_content(self, content):
539539
generated_json,
540540
main_data["start"],
541541
main_data["end"],
542-
main_data["circuits"],
543542
)
544543
)
545544

@@ -566,7 +565,6 @@ def parse_content(self, content):
566565
generated_json,
567566
backup_start,
568567
backup_end,
569-
backup_data["circuits"],
570568
)
571569
)
572570

0 commit comments

Comments
 (0)