summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/utils/io.py
diff options
context:
space:
mode:
authorsmosker <[email protected]>2022-02-10 16:48:22 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:22 +0300
commit01fa2667d0e5e868b18424bc1906146e5ee340db (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib/python/ipython/py2/IPython/utils/io.py
parentdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/utils/io.py')
-rw-r--r--contrib/python/ipython/py2/IPython/utils/io.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/python/ipython/py2/IPython/utils/io.py b/contrib/python/ipython/py2/IPython/utils/io.py
index cbbd094017d..036d6e3926a 100644
--- a/contrib/python/ipython/py2/IPython/utils/io.py
+++ b/contrib/python/ipython/py2/IPython/utils/io.py
@@ -39,12 +39,12 @@ class IOStream:
def clone(meth):
return not hasattr(self, meth) and not meth.startswith('_')
for meth in filter(clone, dir(stream)):
- try:
- val = getattr(stream, meth)
- except AttributeError:
- pass
- else:
- setattr(self, meth, val)
+ try:
+ val = getattr(stream, meth)
+ except AttributeError:
+ pass
+ else:
+ setattr(self, meth, val)
def __repr__(self):
cls = self.__class__