From a2e2c130b0472c7d44d6e9d6e98b9f88853bef7b Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Mon, 18 Jul 2011 11:50:48 -0400 Subject: samba-tool: fixed __doc__ in base classes Replaced the "net" word with %prog in all instances 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 5e71a1c535..2d345df7b9 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 net command.""" + """A %prog command.""" def _get_description(self): return self.__doc__.splitlines()[0].rstrip("\n") @@ -148,7 +148,7 @@ class Command(object): class SuperCommand(Command): - """A command with subcommands.""" + """A %prog command with subcommands.""" subcommands = {} @@ -178,7 +178,7 @@ class SuperCommand(Command): class CommandError(Exception): - '''an exception class for netcmd errors''' + '''an exception class for %prog cmd errors''' def __init__(self, message, inner_exception=None): self.message = message self.inner_exception = inner_exception -- cgit