s4:torture:fsmo.py: remove unused 'net_cmd' variable
authorBjörn Baumbach <bb@sernet.de>
Tue, 28 May 2019 12:57:15 +0000 (14:57 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 May 2019 07:12:11 +0000 (07:12 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13973

Signed-off-by: Björn Baumbach <bbaumbach@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/drs/python/fsmo.py

index 32817dae24b8391be83f9f47192af9cba7bf14e4..f846ca71611a4b8311557b396d99f6dfce8f8019 100644 (file)
@@ -61,8 +61,6 @@ class DrsFsmoTestCase(drs_base.DrsBaseTestCase):
         super(DrsFsmoTestCase, self).tearDown()
 
     def _net_fsmo_role_transfer(self, DC, role, noop=False):
-        # find out where is samba-tool command
-        net_cmd = os.path.abspath("./bin/samba-tool")
         # make command line credentials string
         ccache_name = self.get_creds_ccache_name()
         cmd_line_auth = "--krb5-ccache=%s" % ccache_name