Skip to content

Commit 0bab812

Browse files
authored
lint fixes (#568)
1 parent 98625ed commit 0bab812

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pynetbox/core/endpoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,8 @@ def update(self, objects):
459459
if not isinstance(objects, list):
460460
raise ValueError(
461461
"Objects passed must be list[dict|Record] - was {}".format(
462-
type(objects))
462+
type(objects)
463+
)
463464
)
464465
for o in objects:
465466
if isinstance(o, Record):
@@ -473,8 +474,7 @@ def update(self, objects):
473474
series.append(o)
474475
else:
475476
raise ValueError(
476-
"Object passed must be dict|Record - was {}".format(
477-
type(objects))
477+
"Object passed must be dict|Record - was {}".format(type(objects))
478478
)
479479
req = Request(
480480
base=self.url,

0 commit comments

Comments
 (0)