From: Stephen Soltesz Date: Mon, 9 Nov 2009 20:34:34 +0000 (+0000) Subject: try looking for a shorter prompt initially, since local admin reports that X-Git-Tag: Monitor-3.0-25~7 X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=commitdiff_plain;h=7a24f44418bc4ecdf81f042e6bb640d04dba4479 try looking for a shorter prompt initially, since local admin reports that this is typical behavior of the pcu. --- diff --git a/pcucontrol/models/BayTech.py b/pcucontrol/models/BayTech.py index b4bf71d..fecabd6 100644 --- a/pcucontrol/models/BayTech.py +++ b/pcucontrol/models/BayTech.py @@ -28,7 +28,7 @@ class BayTechGeorgeTown(PCUControl): return self.run_ssh(node_port, dryrun) def run_ssh(self, node_port, dryrun): # NOTE: The georgetown pcu always drops the first connection, - self.transport.open(self.host, self.username, None, "Enter user name:") + self.transport.open(self.host, self.username, None, "Enter") self.transport.close() time.sleep(1) self.transport.open(self.host, self.username, None, "Enter user name:")