We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caeda26 commit 3f9e4e8Copy full SHA for 3f9e4e8
circuit_maintenance_parser/parsers/aws.py
@@ -1293,6 +1293,8 @@ def parse_html(self, soup):
1293
data["circuits"].append(CircuitImpact(circuit_id=line.strip(), impact=impact))
1294
1295
# Generate maintenance ID
1296
- maintenance_id = "".join(circuit.circuit_id for circuit in data["circuits"]) + str(data["start"]) + str(data["end"])
+ maintenance_id = (
1297
+ "".join(circuit.circuit_id for circuit in data["circuits"]) + str(data["start"]) + str(data["end"])
1298
+ )
1299
data["maintenance_id"] = hashlib.sha256(maintenance_id.encode("utf-8")).hexdigest() # nosec
1300
return [data]
0 commit comments