Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master-1, master-0, and 0.9.4

Default paramiko port to 22 explicitly

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>

Changeset 123a3b2a1342

Parent 1edafd8d39e7

committed by Jelmer Vernooij

authored by milki

Changes to one file · Browse files at 123a3b2a1342 Showing diff from parent 1edafd8d39e7 Diff from another changeset...

Change 1 of 1 Show Entire File dulwich/​client.py Stacked
 
779
780
781
 
 
 
 
 
782
783
784
 
779
780
781
782
783
784
785
786
787
788
789
@@ -779,6 +779,11 @@
    def run_command(self, host, command, username=None, port=None,   progress_stderr=None, **kwargs): + + # Paramiko needs an explicit port. None is not valid + if port is None: + port = 22 +   client = paramiko.SSHClient()     policy = paramiko.client.MissingHostKeyPolicy()