From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Pokorný Date: Mon, 29 Oct 2012 21:07:18 +0100 Subject: [Cluster-devel] [PATCH 2/2] code cleanup: Fix warnings according to pylint In-Reply-To: <1351512656-8086-1-git-send-email-mgrac@redhat.com> References: <1351512656-8086-1-git-send-email-mgrac@redhat.com> Message-ID: <20121029200718.GC17754@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Marx, as with previous patch, just a simple check (in fact, indicated by git apply): On 29/10/12 13:10 +0100, Marek 'marx' Grac wrote: > diff --git a/fence/agents/wti/fence_wti.py b/fence/agents/wti/fence_wti.py > index 555fb98..1f353be 100644 > --- a/fence/agents/wti/fence_wti.py > +++ b/fence/agents/wti/fence_wti.py > @@ -47,7 +47,12 @@ def get_power_status(conn, options): > fail(EC_TIMED_OUT) > > plug_section = 0 > + plug_index = -1 > + name_index = -1 > + status_index = -1 > + plug_header = list() > outlets = {} > + last line contains trailing whitespace -- Jan