All of lore.kernel.org
 help / color / mirror / Atom feed
From: fabbione@sourceware.org <fabbione@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.01-4-gc2065b8
Date: 14 May 2008 12:09:53 -0000	[thread overview]
Message-ID: <20080514120953.19423.qmail@sourceware.org> (raw)

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



                 reply	other threads:[~2008-05-14 12:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080514120953.19423.qmail@sourceware.org \
    --to=fabbione@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.