summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/core/profiledir.py
diff options
context:
space:
mode:
authororivej <[email protected]>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/python/ipython/py2/IPython/core/profiledir.py
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/core/profiledir.py')
-rw-r--r--contrib/python/ipython/py2/IPython/core/profiledir.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/ipython/py2/IPython/core/profiledir.py b/contrib/python/ipython/py2/IPython/core/profiledir.py
index e649f45567e..b777f13da0d 100644
--- a/contrib/python/ipython/py2/IPython/core/profiledir.py
+++ b/contrib/python/ipython/py2/IPython/core/profiledir.py
@@ -113,10 +113,10 @@ class ProfileDir(LoggingConfigurable):
readme = os.path.join(self.startup_dir, 'README')
- if not os.path.exists(readme):
- import pkgutil
+ if not os.path.exists(readme):
+ import pkgutil
with open(readme, 'wb') as f:
- f.write(pkgutil.get_data(__name__, 'profile/README_STARTUP'))
+ f.write(pkgutil.get_data(__name__, 'profile/README_STARTUP'))
@observe('security_dir')
def check_security_dir(self, change=None):