Show More
@@ -287,6 +287,9 b' def get_ipython_dir():' | |||||
287 | if os.path.exists(ipdir): |
|
287 | if os.path.exists(ipdir): | |
288 | warnings.warn(('Ignoring {0} in favour of {1}. Remove {0} ' |
|
288 | warnings.warn(('Ignoring {0} in favour of {1}. Remove {0} ' | |
289 | 'to get rid of this message').format(cu(xdg_ipdir), cu(ipdir))) |
|
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 | else: |
|
293 | else: | |
291 | warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir))) |
|
294 | warnings.warn('Moving {0} to {1}'.format(cu(xdg_ipdir), cu(ipdir))) | |
292 | os.rename(xdg_ipdir, ipdir) |
|
295 | os.rename(xdg_ipdir, ipdir) |
General Comments 0
You need to be logged in to leave comments.
Login now