Skip to content

Commit

Permalink
Fixing typo in deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcharnock committed Jul 3, 2024
1 parent bec5fdb commit 4ffc107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hordak/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def __str__(self):
def __init__(self, *args, amount: Money = None, **kwargs):
if amount is not None:
warnings.warn(
"Specifying `amount` when creating an Account is deprecated. "
"Specifying `amount` when creating a Leg is deprecated. "
"Instead specify either the `credit` argument (for what would would previously be "
"a positive amount) or `debit` (for what would previously be a negative amount). "
"Both these arguments should be positive `Money` values. This warning will become an "
Expand Down

0 comments on commit 4ffc107

Please sign in to comment.