fence-agents: master - fence_apc: #501586 - fence_apc fails with pexpect exception

Marek Grác marx@fedoraproject.org
Thu May 21 08:59:00 GMT 2009


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=b8df2d6b2aa7a4f7dfb590d6eb636ab2614c5113
Commit:        b8df2d6b2aa7a4f7dfb590d6eb636ab2614c5113
Parent:        d85c6e6e09ef5eea5381688e04f0f31334361b7a
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Thu May 21 10:55:09 2009 +0200
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Thu May 21 10:55:09 2009 +0200

fence_apc: #501586 - fence_apc fails with pexpect exception

---
 fence/agents/apc/fence_apc.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index e230eaf..00c1013 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -223,6 +223,8 @@ def main():
 		conn.close()
 	except exceptions.OSError:
 		pass
+	except pexpect.ExceptionPexpect:
+		pass
 
 if __name__ == "__main__":
 	main()



More information about the Cluster-cvs mailing list