Show More
@@ -295,6 +295,9 b' def get_ipython_dir():' | |||||
295 | if os.path.exists(ipdir): |
|
295 | if os.path.exists(ipdir): | |
296 | warnings.warn(('Ignoring {0} in favour of {1}. Remove {0} ' |
|
296 | warnings.warn(('Ignoring {0} in favour of {1}. Remove {0} ' | |
297 | 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir))) |
|
297 | 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir))) | |
|
298 | elif os.path.islink(xdg_ipdir): | |||
|
299 | warnings.warn(('{0} is deprecated. Move link to {1} ' | |||
|
300 | 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir))) | |||
298 | else: |
|
301 | else: | |
299 | warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir))) |
|
302 | warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir))) | |
300 | os.rename(xdg_ipdir, ipdir) |
|
303 | os.rename(xdg_ipdir, ipdir) |
General Comments 0
You need to be logged in to leave comments.
Login now