##// END OF EJS Templates
Don't auto-move .config/ipython if symbolic link
Björn Linse -
Show More
@@ -287,6 +287,9 def get_ipython_dir():
287 287 if os.path.exists(ipdir):
288 288 warnings.warn(('Ignoring {0} in favour of {1}. Remove {0} '
289 289 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir)))
290 elif os.path.islink(xdg_ipdir):
291 warnings.warn(('{0} is deprecated. Move link to {1} '
292 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir)))
290 293 else:
291 294 warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir)))
292 295 os.rename(xdg_ipdir, ipdir)
General Comments 0
You need to be logged in to leave comments. Login now