##// END OF EJS Templates
don't move old config files, keep nagging the user
Paul Ivanov -
Show More
@@ -434,13 +434,7 b' def check_for_old_config(ipython_dir=None):'
434 434 if filehash(f) == old_config_md5.get(cfg, ''):
435 435 os.unlink(f)
436 436 else:
437 oldf = f+'.old'
438 i = 0
439 while os.path.exists(oldf):
440 oldf = f+'.old.%i'%i
441 i += 1
442 os.rename(f, oldf)
443 warn.warn("Renamed old IPython config file '%s' to '%s'." % (f, oldf))
437 warn.warn("Found old IPython config file %r (modified by user)"%f)
444 438 warned = True
445 439
446 440 if warned:
@@ -451,6 +445,6 b' def check_for_old_config(ipython_dir=None):'
451 445 To start configuring IPython, do `ipython profile create`, and edit
452 446 `ipython_config.py` in <ipython_dir>/profile_default.
453 447 If you need to leave the old config files in place for an older version of
454 IPython, set `c.InteractiveShellApp.ignore_old_config=True` in the new config.""")
455
448 IPython and want to suppress this warning message, set
449 `c.InteractiveShellApp.ignore_old_config=True` in the new config.""")
456 450
General Comments 0
You need to be logged in to leave comments. Login now