Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small fixes

  • Loading branch information...
commit 1853ac485799626adce63b113b3a77b41225f4e7 1 parent c37796a
Marc Sherry authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 balanced/resources.py
View
6 balanced/resources.py
@@ -701,8 +701,8 @@ def create_bank_account(self,
bank_code,
):
"""
- Tokenizes an `accounts.BankAccount` which can then be associated with an
- Account.
+ Tokenizes an `accounts.BankAccount` which can then be associated with
+ an Account.
:rtype: `accounts.BankAccount`
"""
@@ -940,7 +940,7 @@ class BankAccount(Resource):
def credit(self, amount, description=None):
if not amount or amount <= 0:
- raise ResourceError('Must have an amount')
+ raise ResourceError('Must have an amount >= 0')
return Credit(
uri=self.credits_uri,
Please sign in to comment.
Something went wrong with that request. Please try again.