Skip to content

Commit 04b4cd2

Browse files
committed
rename var
1 parent 9657467 commit 04b4cd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws_lambda_powertools/utilities/data_classes/dynamo_db_stream_event.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ def _deserialize_bool(self, value: bool) -> bool:
7474

7575
def _deserialize_n(self, value: str) -> Decimal:
7676
if len(value) > 38:
77-
l = len(value[38:]) - len(value[38:].rstrip('0'))
78-
value = value[:-l]
77+
tail = len(value[38:]) - len(value[38:].rstrip("0"))
78+
value = value[:-tail]
7979

8080
return DYNAMODB_CONTEXT.create_decimal(value)
8181

0 commit comments

Comments
 (0)