##// END OF EJS Templates
remove also a bunch of %-format
Matthias Bussonnier -
Show More
@@ -310,7 +310,7 b' class BaseIPythonApplication(Application):'
310 310 except OSError as e:
311 311 # this will not be EEXIST
312 312 self.log.error("couldn't create path %s: %s", path, e)
313 self.log.debug("IPYTHONDIR set to: %s" % new)
313 self.log.debug("IPYTHONDIR set to: %s", new)
314 314
315 315 def load_config_file(self, suppress_errors=IPYTHON_SUPPRESS_CONFIG_ERRORS):
316 316 """Load the config file.
@@ -467,7 +467,7 b' class BaseIPythonApplication(Application):'
467 467 s = self.generate_config_file()
468 468 config_file = Path(self.profile_dir.location) / self.config_file_name
469 469 if self.overwrite or not config_file.exists():
470 self.log.warning("Generating default config file: %r" % (config_file))
470 self.log.warning("Generating default config file: %r", (config_file))
471 471 config_file.write_text(s, encoding="utf-8")
472 472
473 473 @catch_config_error
@@ -278,7 +278,7 b' class InteractiveShellApp(Configurable):'
278 278 )
279 279 for ext in extensions:
280 280 try:
281 self.log.info("Loading IPython extension: %s" % ext)
281 self.log.info("Loading IPython extension: %s", ext)
282 282 self.shell.extension_manager.load_extension(ext)
283 283 except:
284 284 if self.reraise_ipython_extension_failures:
General Comments 0
You need to be logged in to leave comments. Login now