Skip to content

Commit

Permalink
Merge pull request #42 from lsst-sqre/tickets/DM-44278
Browse files Browse the repository at this point in the history
tickets/DM-44278: create path to logging directory if needed
  • Loading branch information
athornton authored May 9, 2024
2 parents 67d807c + 45ac267 commit 72f9397
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ Find changes for the upcoming release in the project's [changelog.d directory](h

<!-- scriv-insert-here -->

<a id='changelog-0.5.4'></a>
## 0.5.4 (2024-05-09)

### Bug fixes

- implement mkdir of logging startup parent correctly

<a id='changelog-0.5.3'></a>
## 0.5.3 (2024-05-09)

Expand Down
2 changes: 1 addition & 1 deletion src/lsst/rsp/startup/services/labrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def _copy_logging_profile(self) -> None:
copy = True
if copy:
pdir = user_profile.parent
if not pdir:
if not pdir.is_dir():
pdir.mkdir(parents=True)
user_profile.write_bytes(
(TOP_DIR_PATH / "jupyterlab" / "20-logging.py").read_bytes()
Expand Down

0 comments on commit 72f9397

Please sign in to comment.