Skip to content

Commit

Permalink
Make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaslak committed Dec 21, 2023
1 parent a8cd53b commit 4bfb0fb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions circuit_maintenance_parser/parsers/equinix.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,7 @@ def _parse_bolded(self, b_elements, data):
# all circuits in the notification share the same impact
if "IMPACT:" in b_elem:
impact_line = b_elem.next_sibling
if impact_line.next_sibling is None:
impact_sibling_line = ""
else:
impact_sibling_line = impact_line.next_sibling
impact_sibling_line = impact_line.next_sibling or ""

if "No impact to your service" in impact_line:
impact = Impact.NO_IMPACT
Expand Down

0 comments on commit 4bfb0fb

Please sign in to comment.