From c83a80eaa6215b5508bd9bbd605b8736cd760e8b 2016-01-18 00:34:44 From: Matthias Bussonnier Date: 2016-01-18 00:34:44 Subject: [PATCH] log.war deprecated --- diff --git a/IPython/core/profiledir.py b/IPython/core/profiledir.py index 7818f4e..d855930 100644 --- a/IPython/core/profiledir.py +++ b/IPython/core/profiledir.py @@ -118,7 +118,7 @@ class ProfileDir(LoggingConfigurable): src = os.path.join(get_ipython_package_dir(), u'core', u'profile', u'README_STARTUP') if not os.path.exists(src): - self.log.warn("Could not copy README_STARTUP to startup dir. Source file %s does not exist.", src) + self.log.warning("Could not copy README_STARTUP to startup dir. Source file %s does not exist.", src) if os.path.exists(src) and not os.path.exists(readme): shutil.copy(src, readme)