Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 27, 2022
1 parent 093077d commit d785432
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jupyterlab_server/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ def list2cmdline(cmd_list):
return " ".join(map(pipes.quote, cmd_list))




def which(command, env=None):
"""Get the full path to a command.
Expand Down Expand Up @@ -180,7 +178,7 @@ def _cleanup(cls):
proc.terminate()

def get_log(self):
if hasattr(self, 'logger') and self.logger:
if hasattr(self, "logger") and self.logger:
return self.logger
# fallback logger
self.logger = logging.getLogger("jupyterlab")
Expand Down

0 comments on commit d785432

Please sign in to comment.