Gitweb:
http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=f136b9...
Commit: f136b9d40d79ffa57f384c8b896f71466ab7b554
Parent: 698691e42f383d971e62915fbe83c3801d1b9266
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Wed Apr 9 23:15:36 2014 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Apr 11 09:38:22 2014 +0200
[cleanup] Add missing spaces
---
fence/agents/lib/fencing.py.py | 2 +-
fence/agents/ovh/fence_ovh.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 7d2994f..32040db 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -392,7 +392,7 @@ class fspawn(pexpect.spawn):
def send(self, message):
logging.debug("Sent: %s" % message)
- pexpect.spawn.send(self,message)
+ pexpect.spawn.send(self, message)
# send EOL according to what was detected in login process (telnet)
def send_eol(self, message):
diff --git a/fence/agents/ovh/fence_ovh.py b/fence/agents/ovh/fence_ovh.py
index cd33b17..24c3972 100644
--- a/fence/agents/ovh/fence_ovh.py
+++ b/fence/agents/ovh/fence_ovh.py
@@ -113,11 +113,11 @@ Poweroff is simulated with a reboot into rescue-pro mode."
if options["--action"] == 'off':
# Reboot in Rescue-pro
- netboot_reboot(options,OVH_RESCUE_PRO_NETBOOT_ID)
+ netboot_reboot(options, OVH_RESCUE_PRO_NETBOOT_ID)
time.sleep(STATUS_RESCUE_PRO_SLEEP)
elif options["--action"] in ['on', 'reboot' ]:
# Reboot from HD
- netboot_reboot(options,OVH_HARD_DISK_NETBOOT_ID)
+ netboot_reboot(options, OVH_HARD_DISK_NETBOOT_ID)
time.sleep(STATUS_HARD_DISK_SLEEP)
# Save datetime just after reboot