]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Thu, 8 Aug 2019 07:32:21 +0000 (07:32 +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>
(cherry picked from commit 0fbb013bef886e425602fdbbef14a4029719818f)

source4/torture/drs/python/fsmo.py

index a8d980077f485606098ad7565ce1d9d83d355c1b..a8acb5af89dedd2d39747956537c585f0cb1f65b 100644 (file)
@@ -60,8 +60,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