##// END OF EJS Templates
MAINT: don't use f-strings in logs...
Matthias Bussonnier -
Show More
@@ -400,7 +400,7 b' class BaseIPythonApplication(Application):'
400 400 self.log.fatal("Profile %r not found."%self.profile)
401 401 self.exit(1)
402 402 else:
403 self.log.debug(f"Using existing profile dir: {p.location!r}")
403 self.log.debug("Using existing profile dir: %r", p.location)
404 404 else:
405 405 location = self.config.ProfileDir.location
406 406 # location is fully specified
@@ -420,7 +420,7 b' class BaseIPythonApplication(Application):'
420 420 self.log.fatal("Profile directory %r not found."%location)
421 421 self.exit(1)
422 422 else:
423 self.log.debug(f"Using existing profile dir: {p.location!r}")
423 self.log.debug("Using existing profile dir: %r", p.location)
424 424 # if profile_dir is specified explicitly, set profile name
425 425 dir_name = os.path.basename(p.location)
426 426 if dir_name.startswith('profile_'):
General Comments 0
You need to be logged in to leave comments. Login now