diff options
Diffstat (limited to 'git_config.py')
-rw-r--r-- | git_config.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/git_config.py b/git_config.py index f474a1c9..e2236785 100644 --- a/git_config.py +++ b/git_config.py | |||
@@ -643,10 +643,7 @@ class Remote(object): | |||
643 | self._review_url = http_url | 643 | self._review_url = http_url |
644 | else: | 644 | else: |
645 | host, port = info.split() | 645 | host, port = info.split() |
646 | if _open_ssh(host, port): | 646 | self._review_url = self._SshReviewUrl(userEmail, host, port) |
647 | self._review_url = self._SshReviewUrl(userEmail, host, port) | ||
648 | else: | ||
649 | self._review_url = http_url | ||
650 | except urllib.error.HTTPError as e: | 647 | except urllib.error.HTTPError as e: |
651 | raise UploadError('%s: %s' % (self.review, str(e))) | 648 | raise UploadError('%s: %s' % (self.review, str(e))) |
652 | except urllib.error.URLError as e: | 649 | except urllib.error.URLError as e: |