cas | 2 +- lib/cas/network.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit f8b4b307540f762846ce4707c42a296e8df6f482 Author: adam stokes uzr@jak.rebo Date: Thu Oct 15 15:45:10 2009 -0400
- minor
diff --git a/cas b/cas index a142f79..5878f6c 100755 --- a/cas +++ b/cas @@ -274,7 +274,7 @@ class CasApplication(object): self.casLog.info("Machine %s found, processing " \ "crash output" % (hostname,)) cmd = ["cd " + os.path.join(self.storagePath) + "\n", - "&& ./crash -i crash.in > crash.out\n"] + "./crash -i crash.in > crash.out\n"] Executor(settings["SSHKEY"], hostname, port, settings["CASUSER"], cmd).run() diff --git a/lib/cas/network.py b/lib/cas/network.py index fdf591b..4de5e39 100644 --- a/lib/cas/network.py +++ b/lib/cas/network.py @@ -97,7 +97,7 @@ class Executor(object):
# check remote server key key = transport.get_remote_server_key() - if not keys.has_key(hostname): + if not keys.has_key(self.hostname): raise CasNetworkException("Unknown host key") elif not keys[self.hostname].has_key(key.get_name()): raise CasNetworkException("Unknown host key") @@ -124,6 +124,5 @@ class Executor(object): channel.recv_ready() channel.close() transport.close() - return