This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cluster: STABLE2 - fence_apc: #501586 - fence_apc fails with pexpectexception


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=649d744d31616d67c8179f7e4f2a0774010d9965
Commit:        649d744d31616d67c8179f7e4f2a0774010d9965
Parent:        872529c4aa5e0501908ec68981fbe408fcba550d
Author:        Marek 'marx' Grac <mgrac@redhat.com>
AuthorDate:    Thu May 21 10:38:55 2009 +0200
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Thu May 21 10:41:55 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 e60fe34..eccad66 100644
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -206,6 +206,8 @@ def main():
 		conn.close()
 	except exceptions.OSError:
 		pass
+	except pexpect.ExceptionPexpect:
+		pass
 
 if __name__ == "__main__":
 	main()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]