From: Joseph Sutton Date: Tue, 28 Feb 2023 20:23:41 +0000 (+1300) Subject: pytest/samba_tool_drs_critical: Remove unused variables X-Git-Tag: talloc-2.4.1~1515 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f1b83e97d86be34bbc2ca35dcfd7aa6d7f1e01;p=thirdparty%2Fsamba.git pytest/samba_tool_drs_critical: Remove unused variables Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/torture/drs/python/samba_tool_drs_critical.py b/source4/torture/drs/python/samba_tool_drs_critical.py index 47f9e942dc9..1b95992b671 100644 --- a/source4/torture/drs/python/samba_tool_drs_critical.py +++ b/source4/torture/drs/python/samba_tool_drs_critical.py @@ -76,11 +76,11 @@ class SambaToolDrsTests(drs_base.DrsBaseTestCase): f"cn=administrator,cn=users,{nc_name}") try: - out = self.check_output("samba-tool drs clone-dc-database %s --server=%s %s --targetdir=%s" - % (server_realm, - self.dc1, - self.cmdline_creds, - self.tempdir)) + self.check_output("samba-tool drs clone-dc-database %s --server=%s %s --targetdir=%s" + % (server_realm, + self.dc1, + self.cmdline_creds, + self.tempdir)) except samba.tests.BlackboxProcessError as e: self.fail("Error calling samba-tool: %s" % e)