summaryrefslogtreecommitdiff
path: root/postgresqleu/trustlypayment
diff options
context:
space:
mode:
authorMagnus Hagander2018-12-14 14:18:55 +0000
committerMagnus Hagander2018-12-14 14:18:55 +0000
commite0bfd4f892e43db89bc996c1474f59c2dd6a8dc6 (patch)
tree052eabf670386672528d170a2ab5231571314c8d /postgresqleu/trustlypayment
parentae28c2fec8398c753d6d82c3ca65bca067734802 (diff)
Fix comment warnings
In passing remove some comments that were pointless
Diffstat (limited to 'postgresqleu/trustlypayment')
-rw-r--r--postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py2
-rw-r--r--postgresqleu/trustlypayment/util.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py b/postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py
index b66d6336..04acc66c 100644
--- a/postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py
+++ b/postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py
@@ -56,6 +56,6 @@ class Command(BaseCommand):
Decimal(w['amount']),
0,
settings.ACCOUNTING_TRUSTLY_ACCOUNT,
- 0, # We don't support fees on Trustly at this point
+ 0, # We don't support fees on Trustly at this point
[],
method)
diff --git a/postgresqleu/trustlypayment/util.py b/postgresqleu/trustlypayment/util.py
index 84bd3344..474b689e 100644
--- a/postgresqleu/trustlypayment/util.py
+++ b/postgresqleu/trustlypayment/util.py
@@ -156,9 +156,9 @@ class Trustly(TrustlyWrapper):
manager.process_incoming_payment_for_invoice(invoice,
trans.amount,
'Trustly id {0}'.format(trans.id),
- 0, #XXX: we pay zero now, but should perhaps support fees?
+ 0, # XXX: we pay zero now, but should perhaps support fees?
settings.ACCOUNTING_TRUSTLY_ACCOUNT,
- 0, #XXX: if supporting fees, support fee account
+ 0, # XXX: if supporting fees, support fee account
[],
invoice_logger,
method)