Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: server/hosts/ssh_host.py

Issue 5102010: Passing SSH-options for server tests. (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: server/hosts/ssh_host.py
diff --git a/server/hosts/ssh_host.py b/server/hosts/ssh_host.py
index fdf6a8c9014b49c58f41cc7b3eb18bdd01042d2a..2f5a08093e75c31f72984c1f83999d9a2d816288 100644
--- a/server/hosts/ssh_host.py
+++ b/server/hosts/ssh_host.py
@@ -38,17 +38,14 @@ class SSHHost(abstract_ssh.AbstractSSHHost):
implement the unimplemented methods in parent classes.
"""
- def _initialize(self, hostname, user="root", port=22, password="",
- *args, **dargs):
+ def _initialize(self, hostname, *args, **dargs):
"""
Construct a SSHHost object
Args:
hostname: network hostname or address of remote machine
"""
- super(SSHHost, self)._initialize(hostname=hostname, user=user,
- port=port, password=password,
- *args, **dargs)
+ super(SSHHost, self)._initialize(hostname=hostname, *args, **dargs)
self.setup_ssh()
« server/hosts/factory.py ('K') | « server/hosts/factory.py ('k') | server/server_job.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698