Show More
@@ -118,7 +118,7 b' class ProfileDir(LoggingConfigurable):' | |||||
118 | src = os.path.join(get_ipython_package_dir(), u'core', u'profile', u'README_STARTUP') |
|
118 | src = os.path.join(get_ipython_package_dir(), u'core', u'profile', u'README_STARTUP') | |
119 |
|
119 | |||
120 | if not os.path.exists(src): |
|
120 | if not os.path.exists(src): | |
121 | self.log.warn("Could not copy README_STARTUP to startup dir. Source file %s does not exist.", src) |
|
121 | self.log.warning("Could not copy README_STARTUP to startup dir. Source file %s does not exist.", src) | |
122 |
|
122 | |||
123 | if os.path.exists(src) and not os.path.exists(readme): |
|
123 | if os.path.exists(src) and not os.path.exists(readme): | |
124 | shutil.copy(src, readme) |
|
124 | shutil.copy(src, readme) |
General Comments 0
You need to be logged in to leave comments.
Login now