cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: jparsons@sourceware.org <jparsons@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] Cluster Project branch, RHEL47, updated. gfs-kernel_2_6_9_76-83-gfb39153
Date: 21 Jul 2008 13:53:18 -0000	[thread overview]
Message-ID: <20080721135318.9790.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=fb391530844c929a00b1621893b80722beb67228

The branch, RHEL47 has been updated
       via  fb391530844c929a00b1621893b80722beb67228 (commit)
      from  0949bb8d8f145a8fe4121cf530d500d3125ab426 (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 fb391530844c929a00b1621893b80722beb67228
Author: jparsons <jparsons@redhat.com>
Date:   Mon Jul 21 09:47:37 2008 -0400

    Fix for bz447414

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

Summary of changes:
 fence/agents/apc_snmp/fence_apc_snmp.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/fence/agents/apc_snmp/fence_apc_snmp.py b/fence/agents/apc_snmp/fence_apc_snmp.py
index 9fd0c14..f2b34fa 100755
--- a/fence/agents/apc_snmp/fence_apc_snmp.py
+++ b/fence/agents/apc_snmp/fence_apc_snmp.py
@@ -28,9 +28,9 @@ import signal
 from glob import glob
 
 #BEGIN_VERSION_GENERATION
-FENCE_RELEASE_NAME=""
-REDHAT_COPYRIGHT=""
-BUILD_DATE=""
+FENCE_RELEASE_NAME="2.0.84";
+REDHAT_COPYRIGHT=("Copyright (C) Red Hat, Inc.  2004  All rights reserved.")
+BUILD_DATE="(built Tue Apr 15 16:19:29 EDT 2008)";
 #END_VERSION_GENERATION
 
 POWER_ON="outletOn"
@@ -117,9 +117,9 @@ class FenceAgent:
 	def status(self):
 		oid = self.status_oid % self.resolve_outlet()
 		dummy, stat = self.snmp.get(oid)
-		if stat == self.state_on:
+		if stat == self.state_on or stat == "outletStatusOn":
 			return 'on'
-		elif stat == self.state_off:
+		elif stat == self.state_off or stat == "outletStatusOff":
 			return 'off'
 		else:
 			raise Exception, 'invalid status ' + stat


hooks/post-receive
--
Cluster Project



                 reply	other threads:[~2008-07-21 13:53 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=20080721135318.9790.qmail@sourceware.org \
    --to=jparsons@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).