summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-07-28 21:42:03 -0400
committerAndrew Bartlett <abartlet@samba.org>2011-09-09 15:24:00 +1000
commit02650acac397afe509b6b3bce6df975920d386b8 (patch)
tree4a9e23991739a309631a8b81a966d929549e3a92
parent0f580c0705a8d419af22300d0ece796ba1252095 (diff)
downloadsamba-02650acac397afe509b6b3bce6df975920d386b8.tar.gz
samba-02650acac397afe509b6b3bce6df975920d386b8.tar.bz2
samba-02650acac397afe509b6b3bce6df975920d386b8.zip
samba-tool: Removed SuperCommand usage method
Removed usage method as it is not being used anywhere Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/scripting/python/samba/netcmd/__init__.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py
index 9636a3a05f..12e6a99b4d 100644
--- a/source4/scripting/python/samba/netcmd/__init__.py
+++ b/source4/scripting/python/samba/netcmd/__init__.py
@@ -161,13 +161,6 @@ class SuperCommand(Command):
return 0
raise CommandError("No such subcommand '%s'" % subcommand)
- def usage(self, myname, subcommand=None, *args):
- if subcommand is None or not subcommand in self.subcommands:
- print "Usage: samba-tool %s (%s) [options]" % (myname,
- " | ".join(self.subcommands.keys()))
- else:
- return self.subcommands[subcommand].usage(*args)
-
class CommandError(Exception):