Skip to content

Commit

Permalink
Merge pull request #700 from kevin-bates/fix-deprecated-warn
Browse files Browse the repository at this point in the history
Use logger.warning instead of deprecated warn method
  • Loading branch information
davidbrochart authored Sep 28, 2021
2 parents 3d8e04b + aaba512 commit 0aaa6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_client/provisioning/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def _get_provisioner(self, name: str) -> EntryPoint:
# instance ourselves - since we have that information.
if name == 'local-provisioner':
distros = glob.glob(f"{path.dirname(path.dirname(__file__))}-*")
self.log.warn(
self.log.warning(
f"Kernel Provisioning: The 'local-provisioner' is not found. This is likely "
f"due to the presence of multiple jupyter_client distributions and a previous "
f"distribution is being used as the source for entrypoints - which does not "
Expand Down

0 comments on commit 0aaa6fa

Please sign in to comment.