fence-agents: master - fence_ilo_mp: Proper error message instead of python traceback

Fabio M. Di Nitto fabbione at fedoraproject.org
Tue Apr 20 13:24:57 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=5f04219f0ca8ff3b6ef5f6a0f500263749e52803
Commit:        5f04219f0ca8ff3b6ef5f6a0f500263749e52803
Parent:        0a05ea521285a0f870f1fa5bfc3730de68dd6635
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Tue Apr 20 12:15:55 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 14:51:23 2010 +0200

fence_ilo_mp: Proper error message instead of python traceback

Fencing agent for iLO MP did not have proper exception handling.

Resolves: rhbz#583017
---
 fence/agents/ilo_mp/fence_ilo_mp.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/ilo_mp/fence_ilo_mp.py b/fence/agents/ilo_mp/fence_ilo_mp.py
index fed9f36..1618216 100644
--- a/fence/agents/ilo_mp/fence_ilo_mp.py
+++ b/fence/agents/ilo_mp/fence_ilo_mp.py
@@ -13,7 +13,7 @@ BUILD_DATE=""
 def get_power_status(conn, options):
 	try:
 		conn.send("show /system1\r\n")
-	
+		
 		re_state = re.compile('EnabledState=(.*)', re.IGNORECASE)
 		conn.log_expect(options, re_state, int(options["-Y"]))
 


More information about the cluster-commits mailing list