From 6e7b8aaf1d7b64df07fe2cbc731addd59be8e2d8 Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Mon, 18 Jul 2011 18:34:45 -0400 Subject: samba-tool: Fix __doc_ in base classes Changed prog to samba-tool as prog is only meaningful in Parser Signed-off-by: Andrew Tridgell --- source4/scripting/python/samba/netcmd/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py index 2de679d6f7..e5d20ef301 100644 --- a/source4/scripting/python/samba/netcmd/__init__.py +++ b/source4/scripting/python/samba/netcmd/__init__.py @@ -31,7 +31,7 @@ class Option(optparse.Option): class Command(object): - """A %prog command.""" + """A samba-tool command.""" def _get_description(self): return self.__doc__.splitlines()[0].rstrip("\n") @@ -149,7 +149,7 @@ class Command(object): class SuperCommand(Command): - """A %prog command with subcommands.""" + """A samba-tool command with subcommands.""" subcommands = {} @@ -183,7 +183,7 @@ class SuperCommand(Command): class CommandError(Exception): - '''an exception class for %prog cmd errors''' + '''an exception class for samba-tool cmd errors''' def __init__(self, message, inner_exception=None): self.message = message self.inner_exception = inner_exception -- cgit