Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Batch 6] Porting Notebook PRs #104

Merged
merged 11 commits into from
Sep 27, 2019
Merged

Conversation

satchel3037 and others added 11 commits September 27, 2019 09:56
since it has proven untrustworthy for many users
Applied suggestion from review

Fixed hasattr issue
`check_pid` returns `True` if the PID for a notebook server still exists. Therefore, the `if check_pid(pid):` statements on lines 424 and 437 evaluate to `True` even though the notebook server is still running.

This commit simply adds a `not` to each line: `if not check_pid(pid):` so that the conditional only evaluates to `True` if `check_pid` returns `False`, which happens when the notebook server has shutdown, as expected.
Added decorator `@gen.coroutine` to `FileHandler.get()`
Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks Zach!

@kevin-bates kevin-bates merged commit 695c8bd into jupyter-server:master Sep 27, 2019
@kevin-bates
Copy link
Member

No cleanup necessary.

@Zsailer Zsailer deleted the batch-6 branch January 10, 2020 17:35
Zsailer added a commit to Zsailer/jupyter_server that referenced this pull request Nov 18, 2022
* wip

* reorganize repo for clarity

* update readme

* update provisioner entrypoint

* clear singletons in telemetry extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants