aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/utils/terminal.py
diff options
context:
space:
mode:
authorsmosker <smosker@yandex-team.ru>2022-02-10 16:48:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:21 +0300
commitdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (patch)
treef332cd81782832c17c48d8c3b4511924cd9e47fd /contrib/python/ipython/py2/IPython/utils/terminal.py
parentb637e2fa3213638fbabe52c15dad14c8237945ac (diff)
downloadydb-dd14d17a747a9c259858faf2fcc3ea6b92df4e15.tar.gz
Restoring authorship annotation for <smosker@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/utils/terminal.py')
-rw-r--r--contrib/python/ipython/py2/IPython/utils/terminal.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/python/ipython/py2/IPython/utils/terminal.py b/contrib/python/ipython/py2/IPython/utils/terminal.py
index e92c410c79..afebe10e52 100644
--- a/contrib/python/ipython/py2/IPython/utils/terminal.py
+++ b/contrib/python/ipython/py2/IPython/utils/terminal.py
@@ -9,8 +9,8 @@ Authors:
* Alexander Belchenko (e-mail: bialix AT ukr.net)
"""
-from __future__ import absolute_import
-
+from __future__ import absolute_import
+
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
@@ -21,10 +21,10 @@ try:
from shutil import get_terminal_size as _get_terminal_size
except ImportError:
# use backport on Python 2
- try:
- from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
- except ImportError:
- from ._get_terminal_size import get_terminal_size as _get_terminal_size
+ try:
+ from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size
+ except ImportError:
+ from ._get_terminal_size import get_terminal_size as _get_terminal_size
from . import py3compat