Skip to content

Commit 61dac4d

Browse files
committed
rename error variable name for pylint
1 parent 3f9ea73 commit 61dac4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_display_text/label.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ def text(self, new_text):
355355
current_anchored_position = self.anchored_position
356356
self._update_text(str(new_text))
357357
self.anchored_position = current_anchored_position
358-
except RuntimeError as e:
359-
raise RuntimeError("Text length exceeds max_glyphs") from e
358+
except RuntimeError as run_error:
359+
raise RuntimeError("Text length exceeds max_glyphs") from run_error
360360

361361
@property
362362
def font(self):

0 commit comments

Comments
 (0)