pytest/samba_tool_drs_critical: Remove unused variables
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 28 Feb 2023 20:23:41 +0000 (09:23 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 3 Mar 2023 01:07:36 +0000 (01:07 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/torture/drs/python/samba_tool_drs_critical.py

index 47f9e942dc95c2423c37161d5d1b02564e767912..1b95992b671c0d521ec72cb36b68f5c0514315ba 100644 (file)
@@ -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)