[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.01-4-gc2065b8



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=c2065b8a34d1a125f5758da4194ad376320a0130

The branch, master has been updated
       via  c2065b8a34d1a125f5758da4194ad376320a0130 (commit)
       via  ad7d8707c68991599ca80cc61f10adb3746ac645 (commit)
      from  3938413c0a2ef819d15da44f7e2eaaa5129cf135 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c2065b8a34d1a125f5758da4194ad376320a0130
Author: Marek 'marx' Grac <mgrac redhat com>
Date:   Tue May 13 18:21:44 2008 +0200

    [FENCE] Fix typo in name of the exceptions in fencing agents
    
    Exceptions should be pexpect.EOF, pexpect.TIMEOUT (not pexcept.*). This
    problem only occured in set_status(). Function get_status() contains
    correct exceptions.

commit ad7d8707c68991599ca80cc61f10adb3746ac645
Author: Fabio M. Di Nitto <fdinitto redhat com>
Date:   Wed May 14 14:08:54 2008 +0200

    [FENCE] Rename bladecenter as it should be .pl -> .py
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto redhat com>

-----------------------------------------------------------------------

Summary of changes:
 fence/agents/apc/fence_apc.py                      |    4 ++--
 .../{fence_bladecenter.pl => fence_bladecenter.py} |    4 ++--
 fence/agents/drac/fence_drac5.py                   |    4 ++--
 fence/agents/ilo/fence_ilo.py                      |    4 ++--
 fence/agents/wti/fence_wti.py                      |    4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
 rename fence/agents/bladecenter/{fence_bladecenter.pl => fence_bladecenter.py} (98%)

diff --git a/fence/agents/apc/fence_apc.py b/fence/agents/apc/fence_apc.py
index c9a0571..cdfd74a 100755
--- a/fence/agents/apc/fence_apc.py
+++ b/fence/agents/apc/fence_apc.py
@@ -118,9 +118,9 @@ def set_power_status(conn, options):
 		conn.send(chr(03))
 		conn.log_expect(options, "- Logout", SHELL_TIMEOUT)
 		conn.log_expect(options, options["-c"], SHELL_TIMEOUT)
-	except pexcept.EOF:
+	except pexpect.EOF:
 		fail(EC_CONNECTION_LOST)
-	except pexcept.TIMEOUT:
+	except pexpect.TIMEOUT:
 		fail(EC_TIMED_OUT)
 
 def main():
diff --git a/fence/agents/bladecenter/fence_bladecenter.pl b/fence/agents/bladecenter/fence_bladecenter.py
similarity index 98%
rename from fence/agents/bladecenter/fence_bladecenter.pl
rename to fence/agents/bladecenter/fence_bladecenter.py
index e049735..d149ede 100755
--- a/fence/agents/bladecenter/fence_bladecenter.pl
+++ b/fence/agents/bladecenter/fence_bladecenter.py
@@ -56,9 +56,9 @@ def set_power_status(conn, options):
 		conn.log_expect(options, node_cmd, SHELL_TIMEOUT)
 		conn.send("env -T system\r\n")
 		conn.log_expect(options, options["-c"], SHELL_TIMEOUT)
-	except pexcept.EOF:
+	except pexpect.EOF:
 		fail(EC_CONNECTION_LOST)
-	except pexcept.TIMEOUT:
+	except pexpect.TIMEOUT:
 		fail(EC_TIMED_OUT)
 
 def main():
diff --git a/fence/agents/drac/fence_drac5.py b/fence/agents/drac/fence_drac5.py
index f3e5a1d..e498d8c 100755
--- a/fence/agents/drac/fence_drac5.py
+++ b/fence/agents/drac/fence_drac5.py
@@ -44,9 +44,9 @@ def set_power_status(conn, options):
 	try:
 		conn.sendline("racadm serveraction " + action)
 		conn.log_expect(options, options["-c"], POWER_TIMEOUT)
-	except pexcept.EOF:
+	except pexpect.EOF:
 		fail(EC_CONNECTION_LOST)
-	except pexcept.TIMEOUT:
+	except pexpect.TIMEOUT:
 		fail(EC_TIMED_OUT)
 
 def main():
diff --git a/fence/agents/ilo/fence_ilo.py b/fence/agents/ilo/fence_ilo.py
index dfc9d74..a5471db 100755
--- a/fence/agents/ilo/fence_ilo.py
+++ b/fence/agents/ilo/fence_ilo.py
@@ -43,9 +43,9 @@ def set_power_status(conn, options):
 	try:
 		conn.send("power " + options["-o"] + "\r\n")
 		conn.log_expect(options, options["-c"], POWER_TIMEOUT)
-	except pexcept.EOF:
+	except pexpect.EOF:
 		fail(EC_CONNECTION_LOST)
-	except pexcept.TIMEOUT:
+	except pexpect.TIMEOUT:
 		fail(EC_TIMED_OUT)
 
 def main():
diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py
index e72d449..68dc58d 100755
--- a/fence/agents/wti/fence_wti.py
+++ b/fence/agents/wti/fence_wti.py
@@ -60,9 +60,9 @@ def set_power_status(conn, options):
 	try:
 		conn.send(action + " " + options["-n"] + ",y\r\n")
 		conn.log_expect(options, options["-c"], POWER_TIMEOUT)
-	except pexcept.EOF:
+	except pexpect.EOF:
 		fail(EC_CONNECTION_LOST)
-	except pexcept.TIMEOUT:
+	except pexpect.TIMEOUT:
 		fail(EC_TIMED_OUT)
 
 def main():


hooks/post-receive
--
Cluster Project


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]