diff options
author | Steve 'Ashcrow' Milner <stevem@gnulinux.net> | 2008-01-13 14:35:45 -0500 |
---|---|---|
committer | Steve 'Ashcrow' Milner <stevem@gnulinux.net> | 2008-01-13 14:35:45 -0500 |
commit | b77fbdd90f46b3d1602aa43e99abec096d93888e (patch) | |
tree | 9d8ac00601e056ac79f5679b88cc19bb65293190 /func/overlord/cmd_modules/ping.py | |
parent | 63170952d465a8acf8355e7b346733e4f6ddcace (diff) | |
download | func-b77fbdd90f46b3d1602aa43e99abec096d93888e.tar.gz func-b77fbdd90f46b3d1602aa43e99abec096d93888e.tar.xz func-b77fbdd90f46b3d1602aa43e99abec096d93888e.zip |
removed a lot of misplaced shebangs.
Diffstat (limited to 'func/overlord/cmd_modules/ping.py')
-rw-r--r-- | func/overlord/cmd_modules/ping.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/func/overlord/cmd_modules/ping.py b/func/overlord/cmd_modules/ping.py index 29fa9d0..397adc8 100644 --- a/func/overlord/cmd_modules/ping.py +++ b/func/overlord/cmd_modules/ping.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - """ copyfile command line @@ -15,7 +13,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. """ - import optparse import os import pprint @@ -28,11 +25,11 @@ from func.overlord import client # FIXME: this really should not be in each sub module. DEFAULT_PORT = 51234 + class Ping(client.command.Command): name = "ping" useage = "see what func minions are up/accessible" - def addOptions(self): """ Not too many options for you! (Seriously, it's a simple command ... func "*" ping) @@ -43,14 +40,12 @@ class Ping(client.command.Command): self.parser.add_option("-p", "--port", dest="port", default=DEFAULT_PORT) - def handleOptions(self, options): """ Nothing to do here... """ pass - def do(self, args): self.server_spec = self.parentCommand.server_spec @@ -72,4 +67,3 @@ class Ping(client.command.Command): print "[ FAILED ] %s" % server return 1 - |