fence-agents: master - lpar: fix spacing

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


Gitweb:        http://git.fedorahosted.org/git/fence-agents.git?p=fence-agents.git;a=commitdiff;h=2d7644acb8c83ee3c9ea24e0115efa49d09066ff
Commit:        2d7644acb8c83ee3c9ea24e0115efa49d09066ff
Parent:        35d5ebb6a9304d74cc69dd17416be192118815d9
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Tue Apr 20 15:21:10 2010 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Tue Apr 20 15:21:10 2010 +0200

lpar: fix spacing

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 fence/agents/lpar/fence_lpar.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fence/agents/lpar/fence_lpar.py b/fence/agents/lpar/fence_lpar.py
index 61d12a9..00ea66c 100644
--- a/fence/agents/lpar/fence_lpar.py
+++ b/fence/agents/lpar/fence_lpar.py
@@ -156,8 +156,10 @@ def main():
 
 	if 0 == options.has_key("-s"):
 		fail_usage("Failed: You have to enter name of managed system")
+
         if (0 == ["list", "monitor"].count(options["-o"].lower())) and (0 == options.has_key("-n")):
                 fail_usage("Failed: You have to enter name of the partition")
+
 	if 1 == options.has_key("-H") and (options["-H"] != "3" and options["-H"] != "4"):
 		fail_usage("Failed: You have to enter valid version number: 3 or 4")
 


More information about the cluster-commits mailing list