Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit dd533aa

Browse files
author
Yohann Leon
committed
Fix pyling errors
1 parent 9dd9416 commit dd533aa

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

packet/HardwareReservation.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ def __init__(self, data, manager):
3030
self.switch_uuid = data.get("switch_uuid")
3131

3232
try:
33-
project_data = self.manager.call_api(
34-
data["project"]["href"], type="GET"
35-
)
33+
project_data = self.manager.call_api(data["project"]["href"], type="GET")
3634
self.project = Project(project_data, self.manager)
3735
except (KeyError, IndexError):
3836
self.attached_to = None
@@ -47,9 +45,7 @@ def __init__(self, data, manager):
4745
# self.attached_to = None
4846

4947
try:
50-
device_data = self.manager.call_api(
51-
data["device"]["href"], type="GET"
52-
)
48+
device_data = self.manager.call_api(data["device"]["href"], type="GET")
5349
self.device = Device(device_data, self.manager)
5450
except (KeyError, IndexError):
5551
self.attached_to = None

0 commit comments

Comments
 (0)