From 8399b2dbf8beafcb91071e43dc68e18b68a9f7ba Mon Sep 17 00:00:00 2001 From: Ozzie Aery Fallick Date: Tue, 8 Mar 2022 11:40:44 -0800 Subject: [PATCH 1/3] Fixed color encoding problem causing Issue #178 Removed utf-8 encoding step as recommended in https://github.com/JakeWharton/pidcat/issues/97#issuecomment-932760684. This is backwards-compatible with Python 2. --- pidcat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pidcat.py b/pidcat.py index 6a23786..4a2b42f 100755 --- a/pidcat.py +++ b/pidcat.py @@ -359,4 +359,4 @@ def tag_in_tags_regex(tag, tags): message = matcher.sub(replace, message) linebuf += indent_wrap(message) - print(linebuf.encode('utf-8')) + print(linebuf) From f6650397b34fa6954e387360b2b3b140a352314f Mon Sep 17 00:00:00 2001 From: Ozzie Aery Fallick Date: Tue, 8 Mar 2022 11:46:00 -0800 Subject: [PATCH 2/3] Bump pidcat version to 2.1.1 Version increases to 2.1.1 to cover fixes for Issues #147 and #178. --- pidcat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pidcat.py b/pidcat.py index 4a2b42f..b671091 100755 --- a/pidcat.py +++ b/pidcat.py @@ -27,7 +27,7 @@ import subprocess from subprocess import PIPE -__version__ = '2.1.0' +__version__ = '2.1.1' LOG_LEVELS = 'VDIWEF' LOG_LEVELS_MAP = dict([(LOG_LEVELS[i], i) for i in range(len(LOG_LEVELS))]) From a1e10a2f19eb12896055845b611473467aa70608 Mon Sep 17 00:00:00 2001 From: Ozzie Aery Fallick Date: Tue, 8 Mar 2022 11:52:02 -0800 Subject: [PATCH 3/3] Update changelog for 2.1.1 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c38846b..aa798ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Change Log ========== +Version 2.1.1 *(2022-03-08)* +---------------------------- + + * Fix: Iteration calls are now compatible with Python 3. + * Fix: Color encoding is now compatible with Python 3. + + Version 2.1.0 *(2016-09-07)* ----------------------------