Show More
@@ -435,6 +435,10 b' def check_for_old_config(ipython_dir=None):' | |||
|
435 | 435 | os.unlink(f) |
|
436 | 436 | else: |
|
437 | 437 | oldf = f+'.old' |
|
438 | i = 0 | |
|
439 | while os.path.exists(oldf): | |
|
440 | oldf = f+'.old.%i'%i | |
|
441 | i += 1 | |
|
438 | 442 | os.rename(f, oldf) |
|
439 | 443 | warn.warn("Renamed old IPython config file '%s' to '%s'." % (f, oldf)) |
|
440 | 444 | warned = True |
General Comments 0
You need to be logged in to leave comments.
Login now