summaryrefslogtreecommitdiffstats
path: root/eopayment/sips.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-02-18 15:05:58 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2016-02-18 15:29:01 (GMT)
commita7dcc7a5e50f599f4bb35afa7c82578f9189bc2f (patch)
tree5c83bce9574e8a1e3364590995cd649b663dbd3d /eopayment/sips.py
parent3b3f63907d7ba309b55e69c5eeda38076664de95 (diff)
downloadeopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.zip
eopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.tar.gz
eopayment-a7dcc7a5e50f599f4bb35afa7c82578f9189bc2f.tar.bz2
general: give same signature to all Payment object constructors (#10030)
Diffstat (limited to 'eopayment/sips.py')
-rw-r--r--eopayment/sips.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/eopayment/sips.py b/eopayment/sips.py
index 47b6d20..301d414 100644
--- a/eopayment/sips.py
+++ b/eopayment/sips.py
@@ -102,10 +102,10 @@ class Payment(PaymentCommon):
],
}
- def __init__(self, options, logger=LOGGER):
+ def __init__(self, options, logger=None):
+ super(Payment, self).__init__(options, logger=logger)
self.options = options
self.binpath = self.options.pop(BINPATH)
- self.logger = logger
self.logger.debug('initializing sips payment class with %s' % options)
def execute(self, executable, params):