diff options
author | Magnus Hagander | 2016-01-01 18:31:18 +0000 |
---|---|---|
committer | Magnus Hagander | 2016-01-07 14:19:56 +0000 |
commit | 905fdb48b99d2fbb6bb7519d1091026835f45c69 (patch) | |
tree | 9d304779720d9f4701202922db6c14ecaf9f15ee /postgresqleu/adyen/util.py | |
parent | cae3b232bd384419878766deb3dfcb920a88c0d6 (diff) |
Mechanical changes for new django version
Diffstat (limited to 'postgresqleu/adyen/util.py')
-rw-r--r-- | postgresqleu/adyen/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/adyen/util.py b/postgresqleu/adyen/util.py index 6f68af20..5a70d964 100644 --- a/postgresqleu/adyen/util.py +++ b/postgresqleu/adyen/util.py @@ -248,7 +248,7 @@ def process_raw_adyen_notification(raw, POST): # a transactional context, as it manages it's own. # Now open a transaction for actually processing what we get - with transaction.commit_on_success(): + with transaction.atomic(): # Set it to confirmed - if we were unable to process the RAW one, # this will be rolled back by the transaction, and that's the only # thing that htis flag means. Anything else is handled by the |