##// 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 self.log.fatal("Profile %r not found."%self.profile)
400 self.log.fatal("Profile %r not found."%self.profile)
401 self.exit(1)
401 self.exit(1)
402 else:
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 else:
404 else:
405 location = self.config.ProfileDir.location
405 location = self.config.ProfileDir.location
406 # location is fully specified
406 # location is fully specified
@@ -420,7 +420,7 b' class BaseIPythonApplication(Application):'
420 self.log.fatal("Profile directory %r not found."%location)
420 self.log.fatal("Profile directory %r not found."%location)
421 self.exit(1)
421 self.exit(1)
422 else:
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 # if profile_dir is specified explicitly, set profile name
424 # if profile_dir is specified explicitly, set profile name
425 dir_name = os.path.basename(p.location)
425 dir_name = os.path.basename(p.location)
426 if dir_name.startswith('profile_'):
426 if dir_name.startswith('profile_'):
General Comments 0
You need to be logged in to leave comments. Login now