Explorar el Código

Revert "Repo: fall back to http, if ssh connection fails for http repos"

This reverts commit 488bf092d5992bd1b8f8681c444f2cc283d05bcb.

Issue 230

Change-Id: I3a5725301f576e1a2ac499cb6daa631895115640
Dan Willemsen hace 9 años
padre
commit
16889ba43d
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1 4
      git_config.py

+ 1 - 4
git_config.py

@@ -643,10 +643,7 @@ class Remote(object):
             self._review_url = http_url
           else:
             host, port = info.split()
-            if _open_ssh(host, port):
-              self._review_url = self._SshReviewUrl(userEmail, host, port)
-            else:
-              self._review_url = http_url
+            self._review_url = self._SshReviewUrl(userEmail, host, port)
         except urllib.error.HTTPError as e:
           raise UploadError('%s: %s' % (self.review, str(e)))
         except urllib.error.URLError as e: