From dd050972eaaf39b7c9bee3e76e8ffd93b0f761cf Mon Sep 17 00:00:00 2001 From: Aleksey Reznikov Date: Wed, 10 May 2023 16:49:18 +0300 Subject: [PATCH 1/2] fix debug logging --- debian/changelog | 6 ++++++ tortik/page.py | 2 +- tortik/version.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 08070b5..138a9df 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-tortik (0.2.16) unstable; urgency=low + + * Fix debug logging + + -- Reznikov Aleksey Fri, 10 May 2023 16:30:00 +0300 + python-tortik (0.2.15) unstable; urgency=low * Added tornado error code processing diff --git a/tortik/page.py b/tortik/page.py index c2c3bb9..8753921 100644 --- a/tortik/page.py +++ b/tortik/page.py @@ -258,7 +258,7 @@ def _on_fetch(response, name): name, response.code, content_type, - response.body.decode("utf-8", errors="replace"), + response.body.decode("utf-8", errors="replace") if response.body else None, ) try: if "xml" in content_type: diff --git a/tortik/version.py b/tortik/version.py index ca22730..efc76db 100644 --- a/tortik/version.py +++ b/tortik/version.py @@ -18,4 +18,4 @@ def __parse_version_from_changelog(): return None -version = __parse_version_from_changelog() or "0.2.15" +version = __parse_version_from_changelog() or "0.2.16" From 7da1c98dd1d43086acfb6b6b2f22c709f3bd1b62 Mon Sep 17 00:00:00 2001 From: Aleksey Reznikov Date: Wed, 10 May 2023 17:01:20 +0300 Subject: [PATCH 2/2] fix debug logging --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 138a9df..af7b074 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ python-tortik (0.2.16) unstable; urgency=low * Fix debug logging - -- Reznikov Aleksey Fri, 10 May 2023 16:30:00 +0300 + -- Reznikov Aleksey Wed, 10 May 2023 16:30:00 +0300 python-tortik (0.2.15) unstable; urgency=low