From: Henryk Plötz Date: Mon, 9 Sep 2019 11:39:57 +0000 (+0200) Subject: Logger.warn is deprecated, replace with .warning X-Git-Tag: v3.0.0~2^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cebc631766bfe6e85054f3d6331486b7a3e9ff84;p=thirdparty%2Fpython-fints.git Logger.warn is deprecated, replace with .warning --- diff --git a/fints/client.py b/fints/client.py index fd029c3..2183025 100644 --- a/fints/client.py +++ b/fints/client.py @@ -165,7 +165,7 @@ class FinTS3Client: raise TypeError("bank_identifier must be BankIdentifier or str (BLZ)") self.system_id = SYSTEM_ID_UNASSIGNED if not product_id: - logger.warn('You should register your program with the ZKA and pass your own product_id as a parameter.') + logger.warning('You should register your program with the ZKA and pass your own product_id as a parameter.') product_id = 'DC333D745719C4BD6A6F9DB6A' self.user_id = user_id