diff options
author | Giampaolo Lauria <lauria2@yahoo.com> | 2011-07-15 09:47:51 -0400 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-07-21 10:32:24 +1000 |
commit | 1dfcb019d2dcca1d21ec32ee05bf7da15ca84e9f (patch) | |
tree | b4b0aadec7d48d20b4918fe96b20e39c00c02e90 /source4 | |
parent | 35d534b02645e51d45472ca696cc8d92be7836fa (diff) | |
download | samba-1dfcb019d2dcca1d21ec32ee05bf7da15ca84e9f.tar.gz samba-1dfcb019d2dcca1d21ec32ee05bf7da15ca84e9f.tar.bz2 samba-1dfcb019d2dcca1d21ec32ee05bf7da15ca84e9f.zip |
samba-tool: removed the assignment to parser.prog
The prog should only be set if we want it to be different than the name of the program that executed it. I think that for better portability we should not set it and let it default to samba-tool.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/netcmd/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py index 8e9044bd69..1e032924fc 100644 --- a/source4/scripting/python/samba/netcmd/__init__.py +++ b/source4/scripting/python/samba/netcmd/__init__.py @@ -98,7 +98,6 @@ class Command(object): def _create_parser(self): parser = optparse.OptionParser(self.synopsis) - parser.prog = "samba-tool" parser.add_options(self.takes_options) optiongroups = {} for name, optiongroup in self.takes_optiongroups.iteritems(): |