Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
AnastasiaSliusar committed Aug 1, 2024
1 parent 03ebe01 commit 89e0bfa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -3000,7 +3000,6 @@ def target():
def start_app(self) -> None:
"""Start the Jupyter Server application."""
super().start()
#
if not self.allow_root:
# check if we are running as root, and abort if it's not allowed
try:
Expand Down
2 changes: 0 additions & 2 deletions jupyter_server/services/sessions/sessionmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ async def create_session(
if kernel_id is not None and kernel_id in self.kernel_manager:
pass
else:
#
kernel_id = await self.start_kernel_for_session(
session_id, path, name, type, kernel_name, custom_kernel_specs
)
Expand All @@ -308,7 +307,6 @@ def get_kernel_env(
Here the name is likely to be the name of the associated file
with the current kernel at startup time.
"""
#
if name is not None:
cwd = self.kernel_manager.cwd_for_path(path)
path = os.path.join(cwd, name)
Expand Down

0 comments on commit 89e0bfa

Please sign in to comment.