summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 14:17:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-16 14:17:40 +0000
commit4699c7f7f2e56a341ced77099d0e3ec32c7902af (patch)
treeb8901933a7f2127e0a628a4f1325c22540094f36
parentRediffing Use-python3-shebang-on-examples.patch. (diff)
downloadterminaltables-4699c7f7f2e56a341ced77099d0e3ec32c7902af.tar.xz
terminaltables-4699c7f7f2e56a341ced77099d0e3ec32c7902af.zip
Rediffing Avoid-writing-bytes-to-stdout.patch.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/0004-Avoid-writing-bytes-to-stdout.patch26
1 files changed, 9 insertions, 17 deletions
diff --git a/debian/patches/0004-Avoid-writing-bytes-to-stdout.patch b/debian/patches/0004-Avoid-writing-bytes-to-stdout.patch
index 70690cb..cf36463 100644
--- a/debian/patches/0004-Avoid-writing-bytes-to-stdout.patch
+++ b/debian/patches/0004-Avoid-writing-bytes-to-stdout.patch
@@ -1,21 +1,13 @@
-From: Carl Suster <carl@contraflo.ws>
-Date: Tue, 12 Nov 2019 14:08:30 +1100
-Subject: Avoid writing bytes to stdout
+Author: Carl Suster <carl@contraflo.ws>
+Description: Avoid writing bytes to stdout
+ In Python 3, bytes should be written to the underlying buffer object
+ rather than directly to stdout. This was causing legitimate test
+ failures.
-In Python 3, bytes should be written to the underlying buffer object
-rather than directly to stdout. This was causing legitimate test
-failures.
-
-Forwarded: https://github.com/Robpol86/terminaltables/pull/71
----
- terminaltables/terminal_io.py | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/terminaltables/terminal_io.py b/terminaltables/terminal_io.py
-index 8b8c10d..005da1b 100644
---- a/terminaltables/terminal_io.py
-+++ b/terminaltables/terminal_io.py
-@@ -94,5 +94,10 @@ def set_terminal_title(title, kernel32=None):
+diff -Naurp terminaltables.orig/terminaltables/terminal_io.py terminaltables/terminaltables/terminal_io.py
+--- terminaltables.orig/terminaltables/terminal_io.py
++++ terminaltables/terminaltables/terminal_io.py
+@@ -94,5 +94,10 @@ def set_terminal_title(title, kernel32=N
return kernel32.SetConsoleTitleW(title) != 0
# Linux/OSX.