samba-tool: Raise exception on errors and report using base class
authorAmitay Isaacs <amitay@gmail.com>
Thu, 21 Jul 2011 02:21:17 +0000 (12:21 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 28 Jul 2011 05:20:52 +0000 (15:20 +1000)
commit1a444004dddbd534a40fb0b1fd6ee72d3c8deea9
tree25dc4a7137591c1dab54ab4a1cb34d3e9d5f8c7e
parentd4c1149e3ec11a59cb49cd9be71079e503eb9e19
samba-tool: Raise exception on errors and report using base class

Exceptions are captured at top-level samba-tool and reported using
the base class (Command) method show_command_error().

Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/scripting/python/samba/netcmd/__init__.py