[Python-modules-commits] [dulwich] 02/09: Add note about when connect_ssh was deprecated.
Jelmer Vernooij
jelmer at moszumanska.debian.org
Sun Dec 25 13:51:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch master
in repository dulwich.
commit 9d9ad7256318b7b9e1f7929c7b048c0d2259177d
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date: Sun Dec 25 13:11:05 2016 +0000
Add note about when connect_ssh was deprecated.
---
dulwich/client.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dulwich/client.py b/dulwich/client.py
index e2daf3f..17013de 100644
--- a/dulwich/client.py
+++ b/dulwich/client.py
@@ -905,6 +905,7 @@ class SSHVendor(object):
"""A client side SSH implementation."""
def connect_ssh(self, host, command, username=None, port=None):
+ # This function was deprecated in 0.9.1
import warnings
warnings.warn(
"SSHVendor.connect_ssh has been renamed to SSHVendor.run_command",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dulwich.git
More information about the Python-modules-commits
mailing list