From d8c72dbcb3d480084b048e30b4a493b10fbe03e5 Mon Sep 17 00:00:00 2001 From: voisardf Date: Wed, 28 Aug 2024 17:26:31 +0200 Subject: [PATCH] added linting comments --- .../contrib/print_proxy/mapfish_print/mapfish_print.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyramid_oereb/contrib/print_proxy/mapfish_print/mapfish_print.py b/pyramid_oereb/contrib/print_proxy/mapfish_print/mapfish_print.py index b1dd94fa3d..a34f986cfb 100644 --- a/pyramid_oereb/contrib/print_proxy/mapfish_print/mapfish_print.py +++ b/pyramid_oereb/contrib/print_proxy/mapfish_print/mapfish_print.py @@ -119,8 +119,7 @@ def __call__(self, value, system): data=json.dumps(spec) ) try: - log.debug('Validation of the TOC length with compute_toc_pages set to {} and default_toc_length set to {}'.format( \ - print_config.get('compute_toc_pages'),print_config.get('default_toc_length'))) + log.debug('Validation of the TOC length with compute_toc_pages set to {} and default_toc_length set to {}'.format(print_config.get('compute_toc_pages'), print_config.get('default_toc_length'))) # noqa if Config.get('print', {}).get('compute_toc_pages', False): with io.BytesIO() as pdf: pdf.write(print_result.content)