##// END OF EJS Templates
Merge pull request #3212 from jusic/master...
Min RK -
r10270:e7a98b15 merge
parent child Browse files
Show More
@@ -100,7 +100,11 b' class ProfileDir(LoggingConfigurable):'
100 os.mkdir(self.startup_dir)
100 os.mkdir(self.startup_dir)
101 readme = os.path.join(self.startup_dir, 'README')
101 readme = os.path.join(self.startup_dir, 'README')
102 src = os.path.join(get_ipython_package_dir(), u'config', u'profile', u'README_STARTUP')
102 src = os.path.join(get_ipython_package_dir(), u'config', u'profile', u'README_STARTUP')
103 if not os.path.exists(readme):
103
104 if not os.path.exists(src):
105 self.log.warn("Could not copy README_STARTUP to startup dir. Source file %s does not exist." % src)
106
107 if os.path.exists(src) and not os.path.exists(readme):
104 shutil.copy(src, readme)
108 shutil.copy(src, readme)
105
109
106 def _security_dir_changed(self, name, old, new):
110 def _security_dir_changed(self, name, old, new):
General Comments 0
You need to be logged in to leave comments. Login now