From f4afd4df4bbee2ecc5341660aa7f614ff9a50e30 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 20 Feb 2012 09:54:06 +0100 Subject: [PATCH] Fix typo in dummy backend, and bump version to 0.0.8 --- eopayment/__init__.py | 2 +- eopayment/dummy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eopayment/__init__.py b/eopayment/__init__.py index fcbf582..f2c05fb 100644 --- a/eopayment/__init__.py +++ b/eopayment/__init__.py @@ -8,7 +8,7 @@ from common import URL, HTML __all__ = [ 'Payment', 'URL', 'HTML', '__version__', 'SIPS', 'SYSTEMPAY', 'SPPLUS', 'DUMMY', 'get_backend' ] -__version__ = "0.0.7" +__version__ = "0.0.8" SIPS = 'sips' SYSTEMPAY = 'systempayv2' diff --git a/eopayment/dummy.py b/eopayment/dummy.py index 366eecd..397e454 100644 --- a/eopayment/dummy.py +++ b/eopayment/dummy.py @@ -94,7 +94,7 @@ class Payment(PaymentCommon): content = 'signature ok' else: content = None - signed = signed and self.consider_all_response_signed + signed = signed or self.consider_all_response_signed result = 'ok' in form signed_result = result if signed else None