summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/utils/io.py
diff options
context:
space:
mode:
authorsmosker <[email protected]>2022-02-10 16:48:21 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:21 +0300
commitdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (patch)
treef332cd81782832c17c48d8c3b4511924cd9e47fd /contrib/python/ipython/py2/IPython/utils/io.py
parentb637e2fa3213638fbabe52c15dad14c8237945ac (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 036d6e3926a..cbbd094017d 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__