##// END OF EJS Templates
Fix KeyError if old ipython_config.py is present.
Thomas Kluyver -
Show More
@@ -431,7 +431,7 b' def check_for_old_config(ipython_dir=None):'
431 431 for cfg in old_configs:
432 432 f = os.path.join(ipython_dir, cfg)
433 433 if os.path.exists(f):
434 if filehash(f) == old_config_md5[cfg]:
434 if filehash(f) == old_config_md5.get(cfg, ''):
435 435 os.unlink(f)
436 436 warn.info("Removed unmodified old IPython config file %r"%f)
437 437 else:
General Comments 0
You need to be logged in to leave comments. Login now