aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch')
-rw-r--r--contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch b/contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch
new file mode 100644
index 0000000000..b858e79412
--- /dev/null
+++ b/contrib/deprecated/python/backports.shutil-get-terminal-size/patches/01-arcadia.patch
@@ -0,0 +1,11 @@
+--- contrib/deprecated/python/backports.shutil-get-terminal-size/backports/shutil_get_terminal_size/get_terminal_size.py (index)
++++ contrib/deprecated/python/backports.shutil-get-terminal-size/backports/shutil_get_terminal_size/get_terminal_size.py (working tree)
+@@ -41,7 +41,7 @@ try:
+
+ return terminal_size(columns, lines)
+
+-except ImportError:
++except (ImportError, OSError):
+ import fcntl
+ import termios
+