Skip to content

Commit 2e798a8

Browse files
committed
because line too long
1 parent 9934370 commit 2e798a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_onewire/bus.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ def scan(self):
151151
if rom:
152152
count += 1
153153
if count > self.maximum_devices:
154-
raise RuntimeError("Maximum device count of {} exceeded.".format(self.maximum_devices))
154+
raise RuntimeError(
155+
"Maximum device count of {} exceeded."\
156+
.format(self.maximum_devices))
155157
devices.append(OneWireAddress(rom))
156158
if diff == 0:
157159
break

0 commit comments

Comments
 (0)