This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - fence_agents: #487501 - Exceptions in fencingagents
- From: Marek GrÃc <marx at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Mon, 16 Mar 2009 10:01:41 +0000 (UTC)
- Subject: cluster: STABLE3 - fence_agents: #487501 - Exceptions in fencingagents
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d4f0a9c49b2cc52ce0655a45c500b409eda32945
Commit: d4f0a9c49b2cc52ce0655a45c500b409eda32945
Parent: 912fc735805c56669965220209dff1863a66489f
Author: Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate: Mon Mar 16 10:54:32 2009 +0100
Committer: Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Mon Mar 16 10:54:32 2009 +0100
fence_agents: #487501 - Exceptions in fencing agents
Fixing previous patch
---
fence/agents/apc/fence_apc.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index 6707787..46e992f 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -68,7 +68,7 @@ def get_power_status(conn, options):
conn.send(options["-s"]+"\r\n")
while True:
- exp_result == conn.log_expect(options, [ options["-c"], "Press <ENTER>" ], SHELL_TIMEOUT)
+ exp_result = conn.log_expect(options, [ options["-c"], "Press <ENTER>" ], SHELL_TIMEOUT)
lines = conn.before.split("\n");
show_re = re.compile('^\s*(\d+)- (.*?)\s+(ON|OFF)\s*$')
for x in lines: