Skip to content

Commit 247cbaa

Browse files
committed
Fixes comment length
1 parent 22fb285 commit 247cbaa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Adyen/client.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,17 @@ def call_api(self, request_data, service, action, idempotency=False,
242242
You can do this by running 'Adyen.password = 'Your password'"""
243243
raise AdyenInvalidRequestError(errorstring)
244244

245-
# xapikey at self object has highest priority. fallback to root module
245+
# xapikey at self object has highest priority.
246+
# fallback to root module
246247
# and ensure that it is set.
247248
if self.xapikey:
248249
xapikey = self.xapikey
249250
elif 'xapikey' in kwargs:
250251
xapikey = kwargs.pop("xapikey")
251252
if not xapikey:
252253
errorstring = """Please set your webservice xapikey.
253-
You can do this by running 'Adyen.xapikey = 'Your xapikey'"""
254+
You can do this by running
255+
'Adyen.xapikey = 'Your xapikey'"""
254256
raise AdyenInvalidRequestError(errorstring)
255257

256258
# platform at self object has highest priority. fallback to root module

0 commit comments

Comments
 (0)