##// END OF EJS Templates
Backport PR #13198: match log message for profile by name and path
Matthias Bussonnier -
Show More
@@ -374,7 +374,7 b' class BaseIPythonApplication(Application):'
374 374 self.log.fatal("Profile %r not found."%self.profile)
375 375 self.exit(1)
376 376 else:
377 self.log.debug("Using existing profile dir: %r"%p.location)
377 self.log.debug(f"Using existing profile dir: {p.location!r}")
378 378 else:
379 379 location = self.config.ProfileDir.location
380 380 # location is fully specified
@@ -394,7 +394,7 b' class BaseIPythonApplication(Application):'
394 394 self.log.fatal("Profile directory %r not found."%location)
395 395 self.exit(1)
396 396 else:
397 self.log.info("Using existing profile dir: %r"%location)
397 self.log.debug(f"Using existing profile dir: {p.location!r}")
398 398 # if profile_dir is specified explicitly, set profile name
399 399 dir_name = os.path.basename(p.location)
400 400 if dir_name.startswith('profile_'):
General Comments 0
You need to be logged in to leave comments. Login now