From e0759ebd7e87e5c1a0566a6f32b6617d36bb5fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 4 Aug 2026 14:34:23 +0200 Subject: [PATCH] Use https for namespaces for currency rate from Romanian National Bank Closes #14986 (grafted from a7bb08629b6172df9e2b249cf15c84ce875f2d85) --HG-- branch : 7.0 --- modules/currency_ro/currency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/currency_ro/currency.py b/modules/currency_ro/currency.py index ce234e4396..d464f598f2 100644 --- a/modules/currency_ro/currency.py +++ b/modules/currency_ro/currency.py @@ -43,12 +43,12 @@ class Cron(metaclass=PoolMeta): origin, = tree.xpath( '//x:Body/x:OrigCurrency', - namespaces={'x': 'http://www.bnr.ro/xsd'}) + namespaces={'x': 'https://www.bnr.ro/xsd'}) assert origin.text == self.currency.code cubes = tree.xpath( '//x:Body/x:Cube[@date="%s"]' % date.isoformat(), - namespaces={'x': 'http://www.bnr.ro/xsd'}) + namespaces={'x': 'https://www.bnr.ro/xsd'}) if cubes: cube, = cubes return {